idb-wrapper
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -362,5 +362,5 @@ /* | ||
var directionType = options.order.toLowerCase() == 'desc' ? 'PREV' : 'NEXT'; | ||
var directionType = options.order.toLowerCase() == 'desc' ? 'prev' : 'next'; | ||
if (options.filterDuplicates) { | ||
directionType += '_NO_DUPLICATE'; | ||
directionType += 'unique'; | ||
} | ||
@@ -374,3 +374,3 @@ | ||
var cursorRequest = cursorTarget.openCursor(options.keyRange, this.cursor[directionType]); | ||
var cursorRequest = cursorTarget.openCursor(options.keyRange, directionType); | ||
cursorRequest.onerror = options.onError; | ||
@@ -377,0 +377,0 @@ cursorRequest.onsuccess = function (event) { |
{ | ||
"name": "idb-wrapper", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "This is a wrapper for indexedDB.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
134804