diff options
| author | Misko Hevery | 2010-10-31 11:24:20 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-10-31 15:04:30 -0700 | 
| commit | ba5f8ee27f03b3215835bc1e643eb25b8f2e217f (patch) | |
| tree | 7232b6f3ed54edc0e066c10e91563c6c23dbd89b /src/Scope.js | |
| parent | 9a532002cf490a3e26a827e2eab9c1c3d834e2b8 (diff) | |
| download | angular.js-ba5f8ee27f03b3215835bc1e643eb25b8f2e217f.tar.bz2 | |
fix typo, and change a list to string for more efficient compression.
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| 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){ | 
