| Issue 970: | fix bad division slash in code | |
| 2 people starred this issue and may be notified of changes. | Back to list |
A large system I build and maintain uses a PHP port of Douglas Crockford's JSMin (https://github.com/rgrove/jsmin-php/ ) in a process which minifies and compiles files on the fly (then caches). This minifier is crashing on the latest (1.5.1) version (and some previous) of FullCalendar. It throws an exception for "Unterminated regular expression literal." Having debugged what it's running in to, I found that the extra line break between lines 4001 and 4002 are causing the minifier to think that the division operator on 4002 is the start of a regular expression. Also, in troubleshooting, I found that the Textmate editor also thinks it is the start of a regular expression. It highlights lines 4002 though the first slash on line 4015 as a regex. See test case: http://jaaulde.com/test_bed/FullCalendar_newline_bug/ diff: http://jaaulde.com/test_bed/FullCalendar_newline_bug/fullcalendar.js.diff
Aug 5, 2011
Having the same issue using Combine.cfc (https://github.com/zefer/Combine) which uses a Java version of JSMin for Coldfusion development.
Mar 12, 2012
I have been involved in upgrading jQuery/UI/plugins in my system and this got me again in fullCalendar 1.5.3
Aug 13, 2013
this was fixed at some point, but i forget when
Status:
Released
Labels: -Type-Defect Type-Bug |
|
| ► Sign in to add a comment |
Status: Accepted