We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce29862 commit d35fdfcCopy full SHA for d35fdfc
modules/angular2/src/dom/browser_adapter.dart
@@ -151,8 +151,9 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
151
152
String tagName(Element element) => element.tagName;
153
154
- Map<String, String> attributeMap(Element element) =>
155
- element.attributes;
+ Map<String, String> attributeMap(Element element) {
+ return new Map.from(element.attributes);
156
+ }
157
158
String getAttribute(Element element, String attribute) =>
159
element.getAttribute(attribute);
0 commit comments