Index: sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
diff --git a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
index f34af4ba602f2ddafce4839cf1f9d72bdd36c0a8..e2cf77ed04e148fd4ab0c2784a2b13e32784994c 100644 |
--- a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
+++ b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
@@ -43,8 +43,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
return db._transaction(stores, intMode); |
} |
- @JSName('transaction') |
- IDBTransaction _transaction(stores, mode) native; |
+ IDBTransaction _transaction(stores, mode) native 'transaction'; |
static bool _hasNumericMode(txn) => |
JS('bool', 'typeof(#.mode) === "number"', txn); |