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

Unified Diff: tools/dom/templates/html/impl/impl_Blob.darttemplate

Issue 11719003: Nuke custom factory providers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebaselining Created 7 years, 11 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: tools/dom/templates/html/impl/impl_Blob.darttemplate
diff --git a/tools/dom/templates/html/dart2js/factoryprovider_Blob.darttemplate b/tools/dom/templates/html/impl/impl_Blob.darttemplate
similarity index 70%
rename from tools/dom/templates/html/dart2js/factoryprovider_Blob.darttemplate
rename to tools/dom/templates/html/impl/impl_Blob.darttemplate
index 620d195a6000aa8739d3ffc0584990385715501f..a14667a723123fff345322c8ed71a7a72f534de4 100644
--- a/tools/dom/templates/html/dart2js/factoryprovider_Blob.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Blob.darttemplate
@@ -1,3 +1,13 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+part of html;
+
+/// @domName $DOMNAME
+class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+$!MEMBERS
+$if DART2JS
static Blob _create([List blobParts = null, String type, String endings]) {
// TODO: validate that blobParts is a JS Array and convert if not.
// TODO: any coercions on the elements of blobParts, e.g. coerce a typed
@@ -16,3 +26,6 @@
static _create_bag() => JS('var', '{}');
static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); }
+$endif
+}
+

Powered by Google App Engine
This is Rietveld 408576698