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 |
+} |
+ |