Hello I'm having problems with adding a extention to the core of jQuery with $.extend({...}) in Drupal 7.
The code that isn't working there works perfectly if isn't run under Drupal.
In Drupal 7 you have to use a no-name function around youre jQuery code like:
(function($) { code }(jQuery));
But that screws up the scope, so if I use $.extend it is available in the console of firefox plugin - firebug.
I can run the function in there but I can't run it inside my code.
Anybody got the same problem or a solution that i can use?
I have tied replacing all $ to jQuery in the all of the scripts but the .extend function doesn't work anyway!
- eXon