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

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

Issue 10928060: Partially migrate from old getter syntax to new one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
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 f0a254732be0f1e2ceb46dc53880c19b9b761730..1aabd6c364f9b8952b4a6da0a8212b17ae8fdaa7 100644
--- a/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
+++ b/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
@@ -13,14 +13,14 @@ class _AttributeClassSet extends _CssClassSet {
}
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- CSSClassSet get classes() {
+ CSSClassSet get classes {
if (_cssClassSet === null) {
_cssClassSet = new _AttributeClassSet(_ptr);
}
return _cssClassSet;
}
- ElementList get elements() => new FilteredElementList(this);
+ ElementList get elements => new FilteredElementList(this);
void set elements(Collection<Element> value) {
final elements = this.elements;
@@ -28,14 +28,14 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
elements.addAll(value);
}
- String get outerHTML() {
+ String get outerHTML {
final container = new Element.tag("div");
final SVGElement cloned = this.clone(true);
container.elements.add(cloned);
return container.innerHTML;
}
- String get innerHTML() {
+ String get innerHTML {
final container = new Element.tag("div");
final SVGElement cloned = this.clone(true);
container.elements.addAll(cloned.elements);
« no previous file with comments | « lib/dom/templates/html/impl/impl_NodeList.darttemplate ('k') | lib/dom/templates/html/impl/impl_Storage.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698