We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de124f commit 7b1be93Copy full SHA for 7b1be93
src/angular-localForage.js
@@ -113,7 +113,7 @@
113
} else {
114
var deferred = $q.defer(),
115
args = arguments,
116
- localCopy = typeof Blob !== 'undefined' && value instanceof Blob ? value : angular.copy(value);
+ localCopy = typeof Blob !== 'undefined' && typeof ArrayBuffer !== 'undefined' && (value instanceof Blob || value instanceof ArrayBuffer) ? value : angular.copy(value);
117
118
//avoid $promises attributes from value objects, if present.
119
if(angular.isObject(localCopy) && angular.isDefined(localCopy.$promise)) {
0 commit comments