So all my jQuery selections are giving me problems in my WebStorm 11.0.3 Meteor project. For example:
$("#fmeserverurl").val("asdf")
gives this error (exactly):
"fmeserverur = SyntaxError : Unexpected Token ILLEGAL
Not sure if its important but to be sure: so the error message is without the last l character of fmeserverurl and without the closing quote: " .
This is the case for each selection.. so always the last character is dropped and the closing quote "
I have tried with single quotes instead of double quotes.. tried to retype the selection (its not copied from somewhere so no hidden characters I guess as is suggested in other threads concerning Unexpected Token ILLEGAL error messages).
Any ideas?
EDIT
In response to question for lines before/after:
This happens all over the place, so unrelated to the context. But for example:
renderedWithSubsReady(Template.vcs_vcm_widgets_Export, function(){
var data = this.data.data;
$("#fmeserverurl").val(data.fmeserverurl ? data.fmeserverurl : "");
$("#fmeuser").val(data.fmeuser ? data.fmeuser : "");
..
..