Skip to content

Commit

Permalink
fix: gulpfile.js missing done var in build task
Browse files Browse the repository at this point in the history
  • Loading branch information
noKid committed Jul 31, 2015
1 parent 7b1be93 commit 670398a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/angular-localForage.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
} else {
var deferred = $q.defer(),
args = arguments,
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);

//avoid $promises attributes from value objects, if present.
if(angular.isObject(localCopy) && angular.isDefined(localCopy.$promise)) {
Expand Down
2 changes: 1 addition & 1 deletion 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 gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gulp.task('build-files', function() {
.pipe(gulp.dest('dist'));
});

gulp.task('build', ['karma'], function() {
gulp.task('build', ['karma'], function(done) {
runSequence('karma', 'build-files', done);
});

Expand Down

0 comments on commit 670398a

Please sign in to comment.