contao/import — Issue #3551: Re-insert semicolons at EOF
Author: fbender
Created: 2011-11-29 21:47:14+00:00
State: open
Labels: Feature, framework

In dc46e7ec794c583c02b01abad4c82b14 (remove unnecessary whitespace) you also removed some semicolons from (mostly) inline JavaScript. It is not required at EOF (as well as in several other places), but you should insert it (as a good practice). It might even have a (really really small) performance impact (as the parser might need to clean up the code first). Additionally, I don't know what impact this change has on dynamically inserted JavaScript (e. g. in onclick attributes).

See also http://inimino.org/~inimino/blog/javascript_semicolons

--- _Originally created on October 16th, 2011, at 12:57pm (ID 3551)_