mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-05 05:34:43 +00:00
updated list of JavaScript keywords
This commit is contained in:
parent
17d2ced9cc
commit
09e2295975
1 changed files with 5 additions and 4 deletions
|
|
@ -48,10 +48,11 @@ function setter(instance, path, value){
|
||||||
var getterFnCache = {};
|
var getterFnCache = {};
|
||||||
var JS_KEYWORDS = {};
|
var JS_KEYWORDS = {};
|
||||||
foreach(
|
foreach(
|
||||||
["break", "const", "continue", "class", "delete",
|
["abstract", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default",
|
||||||
"do", "while", "for", "function", "if",
|
"delete", "do", "double", "else", "enum", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto",
|
||||||
"instanceof", "new", "return", "switch",
|
"if", "implements", "import", "ininstanceof", "intinterface", "long", "native", "new", "null", "package", "private",
|
||||||
"this", "throw", "try", "catch", "with"],
|
"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(key){ JS_KEYWORDS[key] = true;}
|
||||||
);
|
);
|
||||||
function getterFn(path){
|
function getterFn(path){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue