Comparing version 1.1.4 to 1.1.5
@@ -243,3 +243,4 @@ 'use strict'; | ||
var callback = args[args.length - 1]; | ||
var request = (this._store || this._index)[funcName].apply(this._store, args.slice(0, -1)); | ||
var nativeObject = this._store || this._index; | ||
var request = nativeObject[funcName].apply(nativeObject, args.slice(0, -1)); | ||
request.onsuccess = function() { | ||
@@ -303,2 +304,2 @@ callback(request.result); | ||
} | ||
}()); | ||
}()); |
{ | ||
"name": "idb", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "IndexedDB but with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/idb.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23461
434