| Index: frog/library.dart
|
| diff --git a/frog/library.dart b/frog/library.dart
|
| index 7007a571d8cd2b67b25f963eb3584a99d16d820e..792cc314583e70489198d272291cfa7b8f1a7174 100644
|
| --- a/frog/library.dart
|
| +++ b/frog/library.dart
|
| @@ -53,7 +53,7 @@ class Library extends Element {
|
| bool get isCoreImpl() => this == world.coreimpl;
|
|
|
| // TODO(jmesserly): we shouldn't be special casing DOM anywhere.
|
| - bool get isDom() => this == world.dom;
|
| + bool get isDomOrHtml() => this == world.dom || this == world.html;
|
|
|
| SourceSpan get span() => new SourceSpan(baseSource, 0, 0);
|
|
|
| @@ -372,10 +372,6 @@ class _LibraryVisitor implements TreeVisitor {
|
| name = getSingleStringArg(node);
|
| if (library.name == null) {
|
| library.name = name;
|
| - // TODO(jimhug): Hack to get native fields for io and dom - generalize.
|
| - if (name == 'node' || name == 'dom') {
|
| - library.topType.isNative = true;
|
| - }
|
| if (seenImport || seenSource || seenResource) {
|
| world.error('#library must be first directive in file', node.span);
|
| }
|
|
|