We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ac974 commit 9908c5fCopy full SHA for 9908c5f
modules/angular2/src/transform/reflection_remover/ast_tester.dart
@@ -13,11 +13,12 @@ class AstTester {
13
'${node.constructorName.type.name}' == REFLECTION_CAPABILITIES_NAME;
14
15
bool isReflectionCapabilitiesImport(ImportDirective node) {
16
- return node.uri.stringValue.endsWith("reflection_capabilities.dart");
+ return node.uri.stringValue ==
17
+ "package:angular2/src/reflection/reflection_capabilities.dart";
18
}
19
20
bool isBootstrapImport(ImportDirective node) {
- return node.uri.stringValue.endsWith("/bootstrap.dart");
21
+ return node.uri.stringValue == "package:angular2/bootstrap.dart";
22
23
24
0 commit comments