I am writing an application while using jquery. It fits into an existing application that uses a prototype, so obviously I can't use the dollar sign right away.
I use noconflict to get around this, but can't just wrap this whole script inside a closure passing in jquery, like in:
(function( $ ){ })( jQuery );
It seems to work, but I wonder if there are any consequences to this?
David source share