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

Unified Diff: lib/html/src/SVGElementWrappingImplementation.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: Adding CSSClassSet to wrappers and converting it to a frozen API on DocumentFragment. 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/SVGElementWrappingImplementation.dart
diff --git a/lib/html/src/SVGElementWrappingImplementation.dart b/lib/html/src/SVGElementWrappingImplementation.dart
index 04ab4c460b66c9a336f9a36cb4d7dff4f49c58cf..65cbc4c1cc5c0cbd532f093e1c8fe52515ff9356 100644
--- a/lib/html/src/SVGElementWrappingImplementation.dart
+++ b/lib/html/src/SVGElementWrappingImplementation.dart
@@ -36,7 +36,7 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
'top-level elements but 1 expected');
}
- Set<String> get classes() {
+ CSSClassSet get classes() {
if (_cssClassSet === null) {
_cssClassSet = new _SVGClassSet(_ptr);
}

Powered by Google App Engine
This is Rietveld 408576698