I am trying to merge my JS files.
Anyway, I get an error like that: TypeError: (intermediate value)(...) is not a function
at })(jQuery);
. The code is the following:
(function($) {
//function body and stuff
})(jQuery);
So, I put the code in JSLint, to check for syntax errors, brakes closure... everything is correct.
Any ideas?
UPDATE:
the file tha is being put before the file where I get the error (when merged): http://jsfiddle.net/ENDhB/1/
the file where I get the error: http://jsfiddle.net/ZTP6r/
I tried putting ;
before the (function($) {
, but then I get TypeError: $(...).makeacolumnlists is not a function
in the 1st merged file.