'Unexpected token punc «;», expected punc «)»' #1522

Closed
sinaa opened this Issue Dec 20, 2015 · 1 comment

Projects

None yet

2 participants

@sinaa
sinaa commented Dec 20, 2015

Building the dev branch fails with the above message (from uglify). JSHint similarly fails:

Running "jshint:dist" (jshint) task
Linting dist/summernote.js ...ERROR
[L1728:C3] E020: Expected ')' to match '(' from line 11 and instead saw ';'.
...

Full message of uglify is also as below:

Running "uglify:all" (uglify) task
JS_Parse_Error {
  message: 'Unexpected token punc «;», expected punc «)»',
  filename: 'dist/summernote.js',
  line: 1728,
  col: 2,
  pos: 46005,

To reproduce, you can run grunt dist. I've tried this on Ubuntu, CentOS and Windows, so I don't think the issue should be OS dependent.

Is this a known issue?

@hackerwins hackerwins self-assigned this Dec 20, 2015
@hackerwins hackerwins added this to the v0.7.1 milestone Dec 20, 2015
@hackerwins hackerwins added the critical label Dec 20, 2015
@hackerwins hackerwins added a commit that closed this issue Dec 20, 2015
@hackerwins hackerwins Fixed #1522. 31ba936
@hackerwins
Member

@sinaa Thanks for reporting.
This is fixed on develop branch.

@hackerwins hackerwins reopened this Dec 20, 2015
@hackerwins hackerwins closed this Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment