Skip to content

Commit 670398a

Browse files
committed
fix: gulpfile.js missing done var in build task
1 parent 7b1be93 commit 670398a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/angular-localForage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
} else {
121121
var deferred = $q.defer(),
122122
args = arguments,
123-
localCopy = typeof Blob !== 'undefined' && value instanceof Blob ? value : angular.copy(value);
123+
localCopy = typeof Blob !== 'undefined' && typeof ArrayBuffer !== 'undefined' && (value instanceof Blob || value instanceof ArrayBuffer) ? value : angular.copy(value);
124124

125125
//avoid $promises attributes from value objects, if present.
126126
if(angular.isObject(localCopy) && angular.isDefined(localCopy.$promise)) {

dist/angular-localForage.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ gulp.task('build-files', function() {
3434
.pipe(gulp.dest('dist'));
3535
});
3636

37-
gulp.task('build', ['karma'], function() {
37+
gulp.task('build', ['karma'], function(done) {
3838
runSequence('karma', 'build-files', done);
3939
});
4040

0 commit comments

Comments
 (0)