diff options
| author | Misko Hevery | 2010-07-15 09:41:25 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-15 09:41:25 -0700 |
| commit | 09e2295975b5bb8dfc067303fee86a9f2ebb433d (patch) | |
| tree | e893f14abee0b50622fc705c9336271c07a2d8f0 /src | |
| parent | 17d2ced9cc7e45d1d7272a1217861e598e5522dd (diff) | |
| download | angular.js-09e2295975b5bb8dfc067303fee86a9f2ebb433d.tar.bz2 | |
updated list of JavaScript keywords
Diffstat (limited to 'src')
| -rw-r--r-- | src/Scope.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Scope.js b/src/Scope.js index 35da77fe..f577f695 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -48,10 +48,11 @@ function setter(instance, path, value){ var getterFnCache = {}; var JS_KEYWORDS = {}; foreach( - ["break", "const", "continue", "class", "delete", - "do", "while", "for", "function", "if", - "instanceof", "new", "return", "switch", - "this", "throw", "try", "catch", "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", "while", "with"], function(key){ JS_KEYWORDS[key] = true;} ); function getterFn(path){ |
