I maintain the closure_compiler module, and there's been a problem with one of the core JS files for a while... line 43 of system.js fails to 'compile' with the error:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR: constant location assigned a value more than once.
Original definition at http://closure-compiler.appspot.com/externs.js:21221 at line 43 character 8
location = settings.basePath +"admin/config/search/clean-urls";
^
I'm not entirely sure how this system works, but looking at http://www.w3schools.com/jsref/obj_location.asp, should it instead be something like:
location.assign(settings.basePath +"admin/config/search/clean-urls");
or:
location.replace(settings.basePath +"admin/config/search/clean-urls");
?
Both of these 'compile' successfully - though I haven't tested whether they actually work as intended (since I'm not entirely clear on it!)
Comment | File | Size | Author |
---|---|---|---|
system.js_.patch | 471 bytes | nburles | |