Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
Remove WindowlessMetadataExtractor
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani authored and mhevery committed Nov 24, 2013
1 parent b29dff9 commit b952b09
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AngularModule extends Module {
install(new NgPerfModule());
install(new NgRoutingModule());

type(MetadataExtractor, implementedBy: WindowlessMetadataExtractor);
type(MetadataExtractor);
}
}

Expand Down Expand Up @@ -84,13 +84,3 @@ Injector ngBootstrap({
return injector;
});
}

/// A temporary workaround for:
/// https://code.google.com/p/dart/issues/detail?id=13654
class WindowlessMetadataExtractor extends MetadataExtractor {

Iterable call(Type type) {
if (type == dom.Window) return [];
return super.call(type);
}
}

0 comments on commit b952b09

Please sign in to comment.