I use Google closure library and compiler in my project.
I get strange error on next string:
if (!properties.name) {
throw {message: 'Widget name expected'};
}
properties.name = properties.name.toLowerCase();
goog.require('DOMless.' + properties.parent);
goog.require('DOMless.' + properties.parent);
// ERROR - Syntax error in JS String literal
What is wrong?