Permalink
Browse files

FIXED ASI Issue with file concatenation.

When a build system concatenates a random file that doesn't end in a semicolon, ECMAScript Automatic Semicolon Insertion kicks in and causes a JS error that can be very difficult to debug.
  • Loading branch information...
1 parent 89dc880 commit b9962db744fb4dd47a3f6f3d6353fd44a9452e05 @subtleGradient subtleGradient committed Feb 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Slick.Finder.js
View
2 Source/Slick.Finder.js
@@ -7,7 +7,7 @@ requires: Slick.Parser
...
*/
-(function(){
+;(function(){
var local = {};

0 comments on commit b9962db

Please sign in to comment.