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

Unified Diff: lib/html/src/XMLElementWrappingImplementation.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
« no previous file with comments | « lib/html/src/XMLDocumentWrappingImplementation.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/XMLElementWrappingImplementation.dart
diff --git a/lib/html/src/XMLElementWrappingImplementation.dart b/lib/html/src/XMLElementWrappingImplementation.dart
index b4d7a62e52224cdac86756152e0cc3fde736fa83..f4a7fd756be0d33260df40a92a9898236778f4ed 100644
--- a/lib/html/src/XMLElementWrappingImplementation.dart
+++ b/lib/html/src/XMLElementWrappingImplementation.dart
@@ -29,7 +29,7 @@ class XMLElementWrappingImplementation extends ElementWrappingImplementation
'XML had ${parentTag.nodes.length} top-level nodes but 1 expected');
}
- Set<String> get classes() {
+ CSSClassSet get classes() {
if (_cssClassSet === null) {
_cssClassSet = new _XMLClassSet(_ptr);
}
« no previous file with comments | « lib/html/src/XMLDocumentWrappingImplementation.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698