| Index: pkg/dev_compiler/lib/js/legacy/dart_library.js
|
| diff --git a/pkg/dev_compiler/lib/js/legacy/dart_library.js b/pkg/dev_compiler/lib/js/legacy/dart_library.js
|
| index d8dfd96c9a5a55697178c5bf34c076dd7ccc1ffd..f72cf9e089cfc8e274db9f22ca12ab9eaf64bd40 100644
|
| --- a/pkg/dev_compiler/lib/js/legacy/dart_library.js
|
| +++ b/pkg/dev_compiler/lib/js/legacy/dart_library.js
|
| @@ -125,13 +125,15 @@ var dart_library =
|
| // Force import of core.
|
| var dart_sdk = import_('dart_sdk');
|
|
|
| - // TODO(vsm): DOM facades?
|
| - // See: https://github.com/dart-lang/dev_compiler/issues/173
|
| + // TODO(vsm): Move this to a shared location:
|
| + // https://github.com/dart-lang/sdk/issues/27605
|
| if (typeof NodeList !== "undefined") {
|
| + // TODO(vsm): Do we still need these?
|
| NodeList.prototype.get = function(i) { return this[i]; };
|
| NamedNodeMap.prototype.get = function(i) { return this[i]; };
|
| DOMTokenList.prototype.get = function(i) { return this[i]; };
|
| HTMLCollection.prototype.get = function(i) { return this[i]; };
|
| +
|
| // Expose constructors for DOM types dart:html needs to assume are
|
| // available on window.
|
| if (typeof PannerNode == "undefined") {
|
|
|