Skip to content

Commit

Permalink
Is not a constructor (evaluating 'new Blob()')
Browse files Browse the repository at this point in the history
  • Loading branch information
Darex1991 committed Dec 17, 2015
1 parent 295ce99 commit 2a620d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/main/webapp/js/ng-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ngFileUpload.service('UploadBase', ['$http', '$q', '$timeout', function ($http,
var upload = this;

this.isResumeSupported = function () {
return window.Blob && (window.Blob instanceof Function) && new window.Blob().slice;
return window.Blob && Blob.slice;
};

var resumeSupported = this.isResumeSupported();
Expand Down

0 comments on commit 2a620d0

Please sign in to comment.