Closed GoogleCodeExporter closed 8 years ago
You shouldn't need to do any changes for this plugin; it is jQuery.noConflict()
compatible. The whole plugin is wrapped inside a function scope using jQuery
anonymouse function invoked immediately:
(function($){
// plugin code:
// code refers to "$", which is declared and passed in above
})(jQuery) //invoke this anonymous function immediately, passing in (global)
jQuery
So the $ used internally is not actually the global one.
You need to ensure that noConflict is called before _any_ of your prototype code
executes, and definitely _outside_ the plugin closure.
[http://api.jquery.com/jQuery.noConflict/]
See [http://docs.jquery.com/Plugins/Authoring#Custom_Alias_in_plugin_code]
Original comment by thetoolman
on 3 Feb 2010 at 8:49
[deleted comment]
Original comment by thetoolman
on 3 Feb 2010 at 8:53
Original issue reported on code.google.com by
levi.ro...@gmail.com
on 26 Jan 2010 at 2:26