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
message: 'Unexpected token punc «;», expected punc «)»',
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?
@sinaa Thanks for reporting.
This is fixed on develop branch.