JQM 1.4.1: syntax error when compressing with closure compiler #7171

Closed
rgherardi opened this Issue Feb 24, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@rgherardi

I tried to compress latest 1.4.1 version (during an attempt to solve my previous issue) using Google closure compiler but i get one error:

JSC_TRAILING_COMMA: Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. at line 9558 character 0
"keyup": "_timeout",
^

I don't know if this could be a problem but potentially may be...
Hoiwever, it's enough to remove the last trailing comma and everithing is ok.

Bye

@arschmitz

This comment has been minimized.

Show comment
Hide comment
@arschmitz

arschmitz Feb 24, 2014

Member

thank you this is indeed an issue and should have been found by the linter but the es3 option is missing #7172

Member

arschmitz commented Feb 24, 2014

thank you this is indeed an issue and should have been found by the linter but the es3 option is missing #7172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment