Index: sdk/lib/js/dartium/js_dartium.dart |
diff --git a/sdk/lib/js/dartium/js_dartium.dart b/sdk/lib/js/dartium/js_dartium.dart |
index 13e701230724d32c0d714672d5169ed482ae7a78..b36b190d260a91ed0149cae3857a6850f1b54244 100644 |
--- a/sdk/lib/js/dartium/js_dartium.dart |
+++ b/sdk/lib/js/dartium/js_dartium.dart |
@@ -258,7 +258,7 @@ _finalizeJsInterfaces() native "Js_finalizeJsInterfaces"; |
String _getJsName(mirrors.DeclarationMirror mirror) { |
for (var annotation in mirror.metadata) { |
- if (mirrors.MirrorSystem.getName(annotation.type.simpleName) == "Js") { |
+ if (mirrors.MirrorSystem.getName(annotation.type.simpleName) == "JS") { |
mirrors.LibraryMirror library = annotation.type.owner; |
var uri = library.uri; |
// make sure the annotation is from package://js |