Skip to content

Commit

Permalink
chore: Bump to v1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Trinh authored and Scott Trinh committed May 12, 2017
1 parent 0089530 commit e5d977c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.3.7"></a>
# 1.3.7 (2017-05-12)


## Bug Fixes

- add support for getting/setting an object with a special constructor (e.g., Date, Blob etc.) (#140)
([0089530c](https://github.com/ocombe/angular-localForage/commit/0089530c27bcf2b5b25cc933336f9ce197d27551))


<a name="1.3.6"></a>
# 1.3.6 (2017-04-28)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-localforage",
"main": "dist/angular-localForage.js",
"version": "1.3.6",
"version": "1.3.7",
"homepage": "https://github.com/ocombe/angular-localForage",
"authors": [
"Olivier Combe <[email protected]>"
Expand Down
7 changes: 3 additions & 4 deletions dist/angular-localForage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-localforage - Angular service & directive for https://github.com/mozilla/localForage (Offline storage, improved.)
* @version v1.3.6
* @version v1.3.7
* @link https://github.com/ocombe/angular-localForage
* @license MIT
* @author Olivier Combe <[email protected]>
Expand Down Expand Up @@ -150,7 +150,7 @@
var copy;
if (angular.isArray(value)) {
return value.map(stripMeta);
} else if (angular.isObject(value) && !(value instanceof Blob)) {
} else if (angular.isObject(value) && value.constructor === Object) {
copy = angular.extend({}, value);

angular.isDefined(copy.$promise) && delete copy.$promise;
Expand All @@ -177,8 +177,7 @@
var deferred = $q.defer(),
args = arguments,
self = this,
promise;

promise;
if(angular.isArray(key)) {
var res = [],
found = 0;
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-localForage.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-localforage",
"version": "1.3.6",
"version": "1.3.7",
"description": "Angular service & directive for https://github.com/mozilla/localForage (Offline storage, improved.)",
"license": "MIT",
"main": "dist/angular-localForage.js",
Expand Down

0 comments on commit e5d977c

Please sign in to comment.