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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 24084004: Exposing document.createElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 75f2c1852573a6472581005c0127611253e78343..be59cd942bb9f05758f336c8d9558428ce10a77f 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -32,7 +32,7 @@ import 'dart:_interceptors' show Interceptor;
class _SvgElementFactoryProvider {
static SvgElement createSvgElement_tag(String tag) {
final Element temp =
- document.$dom_createElementNS("http://www.w3.org/2000/svg", tag);
+ document.createElementNS("http://www.w3.org/2000/svg", tag);
return temp;
}
}
@@ -4740,7 +4740,7 @@ class SvgElement extends Element native "SVGElement" {
static final _START_TAG_REGEXP = new RegExp('<(\\w+)');
factory SvgElement.tag(String tag) =>
- document.$dom_createElementNS("http://www.w3.org/2000/svg", tag);
+ document.createElementNS("http://www.w3.org/2000/svg", tag);
factory SvgElement.svg(String svg,
{NodeValidator validator, NodeTreeSanitizer treeSanitizer}) {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698