| Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
|
| index 34d2d9534f80b201c1ee6270e5a1df33c2be64cf..7e5a0f9787fc7018dcbd7281f08cdd67790cea62 100644
|
| --- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
|
| +++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
|
| @@ -298,16 +298,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;
|
|
|
| @@ -402,7 +393,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;
|
|
|
| @@ -526,7 +517,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| * @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;
|
|
|