You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting compilation error for the mentioned string format.
somevariable = ({anotherVar}) => sometext
getting error at the character `
The text was updated successfully, but these errors were encountered:
himanshuvardhan
changed the title
Compilation error for variableName = ({anotherVariale}) => sometext
Compilation error for variableName = ({anotherVariale}) => sometext i.e. Template Literals
Mar 28, 2019
[ERROR] illegal character at suite-asset-****-tool.js line 329:32
optionsHtml += `<option value="${options[i].value}">${options[i].name + marketedNote}</option>`;
^
[ERROR] syntax error at suite-asset-****-tool.js line 329:32
optionsHtml += `<option value="${options[i].value}">${options[i].name + marketedNote}</option>`;
^
[ERROR] illegal character at suite-asset-****-tool.js line 329:111
optionsHtml += `<option value="${options[i].value}">${options[i].name + marketedNote}</option>`;
^
This is a big problem for us; we're switching to use template literals as much as possible in our JS code, but for Java projects compiled with Maven we won't be able to do that. Please advise a workaround or when a fix may be coming.
This is because this plugin uses a rather old version of closure compiler that did not support many new JavaScript features yet. In case you are interested, I made a fork of this plugin, removed all CSS support (to focus on one task) and keep closure compiler up to date.
Getting compilation error for the mentioned string format.
somevariable = ({anotherVar}) =>
sometext
getting error at the character `
The text was updated successfully, but these errors were encountered: