./vendor/assets/javascripts/codemirror/modes/python.js in codemirror-rails-0.2.1 vs ./vendor/assets/javascripts/codemirror/modes/python.js in codemirror-rails-0.2.2
- old
+ new
@@ -169,10 +169,10 @@
stream.eat(/['"]/);
}
}
if (singleline) {
if (conf.mode.singleLineStringErrors) {
- OUTCLASS = ERRORCLASS
+ return ERRORCLASS;
} else {
state.tokenize = tokenBase;
}
}
return OUTCLASS;