3 ms·
When compressing javascript down, missing a semi-colon can cause broken js, especially in older IE browsers. Trailing commas on js object literals would also fr
by cam- 15y ago
When compressing javascript down, missing a semi-colon can cause broken js, especially in older IE browsers. Trailing commas on js object literals would also freeze an entire page in IE. When that happened it would often take several days in jslint trying to work out where the broken js was from.
- bluesnowmonkey 15y agoIf that's the case, then the compression tool isn't parsing the Javascript correctly.
- sjs 15y agoWatch out or all the nutjobs who uses Crockford's broken compressor will come out of the woodwork to defend it.