Skip to content

Commit

Permalink
Fixing issue #28 - ranges are always inclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
Parashuram committed May 2, 2013
1 parent 8b662c8 commit 532c733
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.indexeddb.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
if (r.length === 1) {
return IDBKeyRange.only(r[0]);
} else {
return IDBKeyRange.bound(r[0], r[1], r[2] || true, r[3] || true);
return IDBKeyRange.bound(r[0], r[1], (typeof r[2] === 'undefined') ? true : r[2], (typeof r[3] === 'undefined') ? true : r[3]);
}
} else if (typeof r === "undefined") {
return null;
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.indexeddb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 532c733

Please sign in to comment.