Index: pkg/js_ast/lib/src/template.dart |
diff --git a/pkg/js_ast/lib/src/template.dart b/pkg/js_ast/lib/src/template.dart |
index d7946cd0db60f06f1def646662d685c4baa1fe7b..2c04ce9bf283b3d06e9c214badebf7ef2ab2e7f3 100644 |
--- a/pkg/js_ast/lib/src/template.dart |
+++ b/pkg/js_ast/lib/src/template.dart |
@@ -180,15 +180,15 @@ class InstantiatorGeneratorVisitor implements NodeVisitor<Instantiator> { |
throw 'Unimplemented InstantiatorGeneratorVisitor for $node'; |
} |
- static RegExp identiferRE = new RegExp(r'^[A-Za-z_$][A-Za-z_$0-9]*$'); |
+ static RegExp identifierRE = new RegExp(r'^[A-Za-z_$][A-Za-z_$0-9]*$'); |
static Expression convertStringToVariableUse(String value) { |
- assert(identiferRE.hasMatch(value)); |
+ assert(identifierRE.hasMatch(value)); |
return new VariableUse(value); |
} |
static Expression convertStringToVariableDeclaration(String value) { |
- assert(identiferRE.hasMatch(value)); |
+ assert(identifierRE.hasMatch(value)); |
return new VariableDeclaration(value); |
} |