diff options
| -rw-r--r-- | src/Angular.js | 2 | ||||
| -rw-r--r-- | src/Scope.js | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Angular.js b/src/Angular.js index 312d8c77..62ab163a 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -16,7 +16,7 @@ var manualUppercase = function (s) { }; if ('i' !== 'I'.toLowerCase()) { lowercase = manualLowercase; - uppercase = manulaUppercase; + uppercase = manualUppercase; } function fromCharCode(code) { return String.fromCharCode(code); } diff --git a/src/Scope.js b/src/Scope.js index 0c6205a5..40192e16 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -49,11 +49,11 @@ var scopeId = 0, compileCache = {}, JS_KEYWORDS = {}; foreach( - ["abstract", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default", - "delete", "do", "double", "else", "enum", "export", "extends", "false", "final", "finally", "float", "for", $function, "goto", - "if", "implements", "import", "ininstanceof", "intinterface", "long", "native", "new", $null, "package", "private", - "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "throws", - "transient", "true", "try", "typeof", "var", "volatile", "void", $undefined, "while", "with"], + ("abstract,boolean,break,byte,case,catch,char,class,const,continue,debugger,default," + + "delete,do,double,else,enum,export,extends,false,final,finally,float,for,function,goto," + + "if,implements,import,ininstanceof,intinterface,long,native,new,null,package,private," + + "protected,public,return,short,static,super,switch,synchronized,this,throw,throws," + + "transient,true,try,typeof,var,volatile,void,undefined,while,with").split(/,/), function(key){ JS_KEYWORDS[key] = true;} ); function getterFn(path){ |
