Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
JSC_PARSE_ERROR in infragistics.lob.js
posted

Hello Guys,

 I was using the CDN link for igniteUI before and it is fine and works. There are a couple of problems I started running into when I downloaded the "Download full product" and install igniteUI on my local machine.

I am using Tapestry5 framework which inturn uses Google's Closure Minimizer to minify all the js files. Now when I try to load this file using AMD shim config(RequireJS), Tapestry does this minification for us.

The problem is infragistics.lob.js file is not able to be minified and throws exception at line 603  saying

ERROR - Parse error. identifier is a reserved word

(function($){var _aNull=function(val){return val===null||val===undefined},_draggable=$.ui.draggable.prototype.widgetFullName||
^$.ui.draggable.prototype.widgetName,_tree=$.ui.igTree.prototype.widgetFullName||$.ui.igTree.prototype.widgetName;$.ig=$.ig||{};$.ig.Pivot=$.ig.Pivot||{};(more code..)

Caused by: java.lang.RuntimeException: Compilation failed: JSC_PARSE_ERROR. Parse error. identifier is a reserved word at StreamableResource<text/javascript classpath:META-INF/assets/javascript/ignite-ui/infragistics.lob.js COMPRESSABLE lastModified: Mi Jul 01 20:15:14 MESZ 2015 size: 2625858> line 603 : 0.
at org.apache.tapestry5.internal.webresources.GoogleClosureMinimizer.doMinimize(GoogleClosureMinimizer.java:88)
at org.apache.tapestry5.internal.webresources.AbstractMinimizer$1.perform(AbstractMinimizer.java:72)
at org.apache.tapestry5.internal.webresources.AbstractMinimizer$1.perform(AbstractMinimizer.java:68)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:110)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.perform(PerThreadOperationTracker.java:84)
at org.apache.tapestry5.ioc.internal.RegistryImpl.perform(RegistryImpl.java:1264)

Another problem not related to this but exists is when downloading using the installer, the folder "igToolTip" is missing under structure/images/. 

These errors are preventing us from running the js files locally. Is there any solution?

Regards,
Sumanth Shankar