| 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 1817667a75ae45db583b7a58265762f0f6a07e94..0082f70d96af81c7f110bc2f8193b78cc61954b0 100644
|
| --- a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
|
| +++ b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
|
| @@ -4,7 +4,7 @@
|
|
|
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| - _IDBTransactionImpl transaction(storeName_OR_storeNames, String mode) {
|
| + IDBTransaction transaction(storeName_OR_storeNames, String mode) {
|
| if (mode != 'readonly' && mode != 'readwrite') {
|
| throw new ArgumentError(mode);
|
| }
|
| @@ -29,24 +29,24 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| return txn;
|
| }
|
|
|
| - static _IDBTransactionImpl _transaction_string_mode($CLASSNAME db, stores, mode) {
|
| + static IDBTransaction _transaction_string_mode($CLASSNAME db, stores, mode) {
|
| return db._transaction(stores, mode);
|
| }
|
|
|
| - static _IDBTransactionImpl _transaction_numeric_mode($CLASSNAME db, stores, mode) {
|
| + static IDBTransaction _transaction_numeric_mode($CLASSNAME db, stores, mode) {
|
| int intMode;
|
| if (mode == 'readonly') intMode = IDBTransaction.READ_ONLY;
|
| if (mode == 'readwrite') intMode = IDBTransaction.READ_WRITE;
|
| return db._transaction(stores, intMode);
|
| }
|
|
|
| - _IDBTransactionImpl _transaction(stores, mode) native 'transaction';
|
| + IDBTransaction _transaction(stores, mode) native 'transaction';
|
|
|
| static bool _hasNumericMode(txn) =>
|
| JS('bool', 'typeof(#.mode) === "number"', txn);
|
|
|
| $!MEMBERS}
|
|
|
| -// TODO(sra): This should be a static member of _IDBTransactionImpl but dart2js
|
| +// TODO(sra): This should be a static member of IDBTransaction but dart2js
|
| // can't handle that. Move it back after dart2js is completely done.
|
| var _transaction_fn; // Assigned one of the static methods.
|
|
|