Skip to content

Commit

Permalink
fix(dist): create new production build
Browse files Browse the repository at this point in the history
now the dist's package is broken because in the previous release the build wasn't updated

ref: 17cc00d
  • Loading branch information
simobasso committed Dec 20, 2016
1 parent f54585f commit 46d6ef0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/angular-pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
}

if (url && url.length) {
pdfLoaderTask = PDFJS.getDocument(params, null, null, scope.onProgress);
pdfLoaderTask = PDFJS.getDocument(params);
pdfLoaderTask.onProgress = scope.onProgress;
pdfLoaderTask.onPassword = scope.onPassword;
pdfLoaderTask.then(
function(_pdfDoc) {
if (typeof scope.onLoad === 'function') {
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-pdf.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 example/js/directives/angular-pdf.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 src/angular-pdf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Angular-PDF Version: 1.3.1 | Released under an MIT license */
/*! Angular-PDF Version: 1.4.0 | Released under an MIT license */
(function() {

'use strict';
Expand Down

0 comments on commit 46d6ef0

Please sign in to comment.