Skip to content

Commit

Permalink
fix for issue #96
Browse files Browse the repository at this point in the history
  • Loading branch information
yathit committed Feb 13, 2016
1 parent 5877867 commit 87aa86d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import file="${ydn-base.dir}/build.xml"/>
<property name="ver-major" value="1"/>
<property name="ver-minor" value="4"/>
<property name="ver-patch" value="0"/>
<property name="ver-patch" value="1"/>
<property name="version" value="${ver-major}.${ver-minor}.${ver-patch}"/>

<property name="buildno" value="${ver-major}${ver-minor}${ver-patch}"/>
Expand Down
8 changes: 6 additions & 2 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Release Notes

#### 1.4.1

1. Bug fix for Issue #96

#### 1.4.0

1. Use getAll
2. Use getAllKeys
1. Use new IndexedDB feature [getAll](https://w3c.github.io/IndexedDB/#dom-idbobjectstore-getall) if available
2. Use new IndexedDB feature getAllKeys if available
3. zigzag_merge respect limit.

#### 1.3.6
Expand Down
2 changes: 1 addition & 1 deletion src/ydn/db/base/schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ydn.db.schema.Index = function(
}

if (!goog.isDef(keyPath) && goog.isDef(opt_index_name)) {
keyPath = opt_index_name;
keyPath = opt_index_name.replace(/[,\s]/g, '');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/qunit/crud.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
db.putAll('contact', data).always(function(x) {
console.log('key', x);
deepEqual([1, 2], x, 'key');
db.valuesByIndex('contact', 'accountidname', ydn.db.KeyRange.starts([2])).always(function(x) {
db.valuesByIndex('contact', 'accountid, name', ydn.db.KeyRange.starts([2])).always(function(x) {
deepEqual(data[1], x[0]);
start();
var type = db.getType();
Expand Down

0 comments on commit 87aa86d

Please sign in to comment.