Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: tools/dom/src/AttributeMap.dart

Issue 23808005: Added back childNodes and getAttribute and setAttribute. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/AttributeMap.dart
diff --git a/tools/dom/src/AttributeMap.dart b/tools/dom/src/AttributeMap.dart
index c926d8c39ec79a1cb3f76e79999575ff6e14fac6..82e998e4e5ff18d2efbc5f646fe243c46d04bf35 100644
--- a/tools/dom/src/AttributeMap.dart
+++ b/tools/dom/src/AttributeMap.dart
@@ -92,15 +92,15 @@ class _ElementAttributeMap extends _AttributeMap {
}
String operator [](String key) {
- return _element._getAttribute(key);
+ return _element.getAttribute(key);
}
void operator []=(String key, String value) {
- _element._setAttribute(key, value);
+ _element.setAttribute(key, value);
}
String remove(String key) {
- String value = _element._getAttribute(key);
+ String value = _element.getAttribute(key);
_element._removeAttribute(key);
return value;
}
@@ -129,11 +129,11 @@ class _NamespacedAttributeMap extends _AttributeMap {
}
String operator [](String key) {
- return _element._getAttributeNS(_namespace, key);
+ return _element.getAttributeNS(_namespace, key);
}
void operator []=(String key, String value) {
- _element._setAttributeNS(_namespace, key, value);
+ _element.setAttributeNS(_namespace, key, value);
}
String remove(String key) {
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698