nathansmith / formalize

Teach your forms some manners!
http://formalize.me
1.31k stars 120 forks source link

jquery.formalize.min.js -- missing semicolon #48

Closed thezoggy closed 12 years ago

thezoggy commented 12 years ago

the jquery.formalize.min.js version has some sort of error when you use it in the h5bp build script.. loading up the code in jshint shows that there is a missing semicolon

running jquery.formalize.js through closure-compiler-v1346 returns a much different result and works fine.

nathansmith commented 12 years ago

I am using UglifyJS for minification, because it yields better compression than Closure compiler.

I'd recommend starting out with uncompressed JavaScript files when using a build tool. That way, the build process can do its own minification, as it concatenates the files.