-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Scott Trinh
authored and
Scott Trinh
committed
May 12, 2017
1 parent
0089530
commit e5d977c
Showing
5 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> | ||
|
@@ -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; | ||
|
@@ -177,8 +177,7 @@ | |
var deferred = $q.defer(), | ||
args = arguments, | ||
self = this, | ||
promise; | ||
|
||
promise; | ||
if(angular.isArray(key)) { | ||
var res = [], | ||
found = 0; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters