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

Unified Diff: lib/html/src/XMLDocumentWrappingImplementation.dart

Issue 10868026: Adding .toggle method to Element.classes to match the JS element.classList.toggle method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 4 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
Index: lib/html/src/XMLDocumentWrappingImplementation.dart
diff --git a/lib/html/src/XMLDocumentWrappingImplementation.dart b/lib/html/src/XMLDocumentWrappingImplementation.dart
index 6d8c26482f505979ba6969f181b68dba10f2e72e..9873d7c9b70d7c5a9af67dddefd23a5bc4a11ef1 100644
--- a/lib/html/src/XMLDocumentWrappingImplementation.dart
+++ b/lib/html/src/XMLDocumentWrappingImplementation.dart
@@ -113,7 +113,7 @@ class XMLDocumentWrappingImplementation extends DocumentWrappingImplementation
"Manifest can't be set for XML documents.");
}
- Set<String> get classes() => documentEl.classes;
+ CSSClassSet get classes() => documentEl.classes;
ElementList get elements() => documentEl.elements;
« no previous file with comments | « lib/html/src/SVGElementWrappingImplementation.dart ('k') | lib/html/src/XMLElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698