Missing some reserved words
This commit is contained in:
@@ -740,9 +740,23 @@ Handlebars.JavaScriptCompiler = function() {};
|
||||
}
|
||||
};
|
||||
|
||||
var reservedWords = ("break case catch continue default delete do else finally " +
|
||||
"for function if in instanceof new return switch this throw " +
|
||||
"try typeof var void while with null true false").split(" ");
|
||||
var reservedWords = (
|
||||
"break else new var" +
|
||||
"case finally return void" +
|
||||
"catch for switch while" +
|
||||
"continue function this with" +
|
||||
"default if throw" +
|
||||
"delete in try" +
|
||||
"do instanceof typeof" +
|
||||
"abstract enum int short" +
|
||||
"boolean export interface static" +
|
||||
"byte extends long super" +
|
||||
"char final native synchronized" +
|
||||
"class float package throws" +
|
||||
"const goto private transient" +
|
||||
"debugger implements protected volatile" +
|
||||
"double import public let yield"
|
||||
).split(" ");
|
||||
|
||||
var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user