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

Unified Diff: lib/dom/templates/html/impl/impl_SVGElement.darttemplate

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/dom/templates/html/impl/impl_SVGElement.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_SVGElement.darttemplate b/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
index 95adb520cf719a3e5c7e12adf604ef9addee4618..f0a254732be0f1e2ceb46dc53880c19b9b761730 100644
--- a/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
+++ b/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
@@ -13,7 +13,7 @@ class _AttributeClassSet extends _CssClassSet {
}
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- Set<String> get classes() {
+ CSSClassSet get classes() {
if (_cssClassSet === null) {
_cssClassSet = new _AttributeClassSet(_ptr);
}
« no previous file with comments | « lib/dom/templates/html/impl/impl_Element.darttemplate ('k') | lib/dom/templates/html/interface/interface_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698