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

Unified Diff: sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate

Issue 11364186: Dartifying SVG library class names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing to latest, updating for style guide. Created 8 years, 1 month 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: sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate
similarity index 92%
rename from sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
rename to sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate
index 077a8077cae10f650bf2cd971fbae57613e2a7e7..1dce3cf3011e731899d85d0e5b46e5ed63d9fcad 100644
--- a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate
@@ -55,21 +55,21 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
String get outerHTML {
final container = new Element.tag("div");
- final SVGElement cloned = this.clone(true);
+ final SvgElement cloned = this.clone(true);
container.elements.add(cloned);
return container.innerHTML;
}
String get innerHTML {
final container = new Element.tag("div");
- final SVGElement cloned = this.clone(true);
+ final SvgElement cloned = this.clone(true);
container.elements.addAll(cloned.elements);
return container.innerHTML;
}
void set innerHTML(String svg) {
final container = new Element.tag("div");
- // Wrap the SVG string in <svg> so that SVGElements are created, rather than
+ // Wrap the SVG string in <svg> so that SvgElements are created, rather than
// HTMLElements.
container.innerHTML = '<svg version="1.1">$svg</svg>';
this.elements = container.elements[0].elements;

Powered by Google App Engine
This is Rietveld 408576698