Closed (fixed)
Project:
Signup
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2007 at 02:19 UTC
Updated:
27 Jul 2007 at 08:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwI'm confused. There's no JS aggregator in D5, only in D6, and signup (obviously) hasn't been ported to D6 yet.
Eventually, once this is a concern, don't we also need a ; after the global killswitch function, too?
Comment #2
dwwhere's an actual patch (for both functions). everything still seems to work, but i don't know enough about this yet to just commit it.
Comment #3
m3avrck commentedYou seem to have not seen: http://tedserbinski.com/2007/06/05/js-aggregation-drupal-5 ;-)
Anywho, the semi colon is only needed in the first function, not the latter. The reason for that is because it's in the form: var something = function() { }; -- when you do "var =" you *always* need the optional ";" which is sometimes confusing because it's a function, but really it's a var :-)
More details: http://tedserbinski.com/2007/03/29/javascript-compression
Comment #4
dwwAhh, ok. You folks and your sneaky backport patches. ;)
In that case, committed to HEAD and DRUPAL-5, but only with the ; on the variable assignment, not the killswitch function invocation.
Thanks,
-Derek
Comment #5
(not verified) commented