[wp-trac] [WordPress Trac] #16494: Remove "no conflict" mode from bundled jquery
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 8 20:09:01 UTC 2011
#16494: Remove "no conflict" mode from bundled jquery
--------------------------------+------------------------------
Reporter: lloydbudd | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: External Libraries | Version: 3.1
Severity: minor | Resolution:
Keywords: |
--------------------------------+------------------------------
Comment (by filosofo):
Replying to [comment:4 ericmann]:
> Prototype isn't the only library that uses `$`. So does MooTools. And
there are plenty of plug-ins out there that depend on MooTools.
I agree that MooTools presents a problem. What a strange and infelicitous
bandwagon for these library authors all to jump on.
> > The problem with educating developers is that typically the assumption
is upstream, both in the plugin libraries and in the web tutorials, and
the people using them don't have the knowledge necessary to make the
changes.
>
> The problem with educating developers is that no one bothers to educated
developers. We make the assumption that people won't learn and try to
protect them from their own incompetence by making systems "idiot proof."
The point I was trying to make is that the ''developers'' are not the ones
using WordPress. It's farther down the food chain: theme designers and
others who are ''not'' programmers of any sort, but who follow copy-paste
tutorials to reproduce slick JS effects in their themes. These folks are
not going to be able to correct the plugins of some jQuery plugin author
upstream, someone who is not even working with WordPress.
> It's easy to remap `jQuery` to `$` as well if you need it, and most of
your theme's script will need to fire on the page's ready event anyway ...
>
Save a few characters and do it this way:
{{{
jQuery(function($){
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16494#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list