Fix lint errors under latest eslint

This commit is contained in:
kpdecker
2015-10-31 13:32:43 -05:00
parent 3406b95cfd
commit 9f59de9657
2 changed files with 2 additions and 2 deletions
@@ -12,7 +12,7 @@ function JavaScriptCompiler() {}
JavaScriptCompiler.prototype = { JavaScriptCompiler.prototype = {
// PUBLIC API: You can override these methods in a subclass to provide // PUBLIC API: You can override these methods in a subclass to provide
// alternative compiled forms for name lookup and buffering semantics // alternative compiled forms for name lookup and buffering semantics
nameLookup: function(parent, name /* , type*/) { nameLookup: function(parent, name/* , type*/) {
if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) { if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
return [parent, '.', name]; return [parent, '.', name];
} else { } else {
+1 -1
View File
@@ -15,7 +15,7 @@ function escapeChar(chr) {
return escape[chr]; return escape[chr];
} }
export function extend(obj /* , ...source */) { export function extend(obj/* , ...source */) {
for (let i = 1; i < arguments.length; i++) { for (let i = 1; i < arguments.length; i++) {
for (let key in arguments[i]) { for (let key in arguments[i]) {
if (Object.prototype.hasOwnProperty.call(arguments[i], key)) { if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {