Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

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

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

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

rgherardi opened this issue Feb 24, 2014 · 1 comment
Assignees
Milestone

Comments

@rgherardi
Copy link

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
Copy link
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants