| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 7c3a5c51199ffc0f257dbec90b4c3469fc114031..af19ffcf243929ac507a80424625cdb4fbbe67e4 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -7001,16 +7001,7 @@ class _FrozenElementListIterator implements Iterator<Element> {
|
| bool get hasNext => _index < _list.length;
|
| }
|
|
|
| -/**
|
| - * All your attribute manipulation needs in one place.
|
| - * Extends the regular Map interface by automatically coercing non-string
|
| - * values to strings.
|
| - */
|
| -abstract class AttributeMap implements Map<String, String> {
|
| - void operator []=(String key, value);
|
| -}
|
| -
|
| -class _ElementAttributeMap extends AttributeMap {
|
| +class _ElementAttributeMap implements Map<String, String> {
|
|
|
| final Element _element;
|
|
|
| @@ -7105,7 +7096,7 @@ class _ElementAttributeMap extends AttributeMap {
|
| * Provides a Map abstraction on top of data-* attributes, similar to the
|
| * dataSet in the old DOM.
|
| */
|
| -class _DataAttributeMap extends AttributeMap {
|
| +class _DataAttributeMap implements Map<String, String> {
|
|
|
| final Map<String, String> $dom_attributes;
|
|
|
| @@ -7229,7 +7220,7 @@ class Element extends Node implements ElementTraversal native "*Element" {
|
| * @domName Element.hasAttribute, Element.getAttribute, Element.setAttribute,
|
| * Element.removeAttribute
|
| */
|
| - _ElementAttributeMap get attributes => new _ElementAttributeMap(this);
|
| + Map<String, String> get attributes => new _ElementAttributeMap(this);
|
|
|
| void set attributes(Map<String, String> value) {
|
| Map<String, String> attributes = this.attributes;
|
|
|