Skip to content

Commit e5d977c

Browse files
Scott TrinhScott Trinh
Scott Trinh
authored and
Scott Trinh
committed
chore: Bump to v1.3.7
1 parent 0089530 commit e5d977c

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="1.3.7"></a>
2+
# 1.3.7 (2017-05-12)
3+
4+
5+
## Bug Fixes
6+
7+
- add support for getting/setting an object with a special constructor (e.g., Date, Blob etc.) (#140)
8+
([0089530c](https://github.com/ocombe/angular-localForage/commit/0089530c27bcf2b5b25cc933336f9ce197d27551))
9+
10+
111
<a name="1.3.6"></a>
212
# 1.3.6 (2017-04-28)
313

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-localforage",
33
"main": "dist/angular-localForage.js",
4-
"version": "1.3.6",
4+
"version": "1.3.7",
55
"homepage": "https://github.com/ocombe/angular-localForage",
66
"authors": [
77
"Olivier Combe <[email protected]>"

dist/angular-localForage.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-localforage - Angular service & directive for https://github.com/mozilla/localForage (Offline storage, improved.)
3-
* @version v1.3.6
3+
* @version v1.3.7
44
* @link https://github.com/ocombe/angular-localForage
55
* @license MIT
66
* @author Olivier Combe <[email protected]>
@@ -150,7 +150,7 @@
150150
var copy;
151151
if (angular.isArray(value)) {
152152
return value.map(stripMeta);
153-
} else if (angular.isObject(value) && !(value instanceof Blob)) {
153+
} else if (angular.isObject(value) && value.constructor === Object) {
154154
copy = angular.extend({}, value);
155155

156156
angular.isDefined(copy.$promise) && delete copy.$promise;
@@ -177,8 +177,7 @@
177177
var deferred = $q.defer(),
178178
args = arguments,
179179
self = this,
180-
promise;
181-
180+
promise;
182181
if(angular.isArray(key)) {
183182
var res = [],
184183
found = 0;

dist/angular-localForage.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-localforage",
3-
"version": "1.3.6",
3+
"version": "1.3.7",
44
"description": "Angular service & directive for https://github.com/mozilla/localForage (Offline storage, improved.)",
55
"license": "MIT",
66
"main": "dist/angular-localForage.js",

0 commit comments

Comments
 (0)