Skip to content

Commit

Permalink
Release v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybiasiolli committed Nov 24, 2016
1 parent 171297e commit 2b50642
Show file tree
Hide file tree
Showing 8 changed files with 47,860 additions and 43,975 deletions.
2 changes: 1 addition & 1 deletion dist/angular-pdf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Angular-PDF Version: 1.3.0 | Released under an MIT license */
/*! Angular-PDF Version: 1.3.1 | Released under an MIT license */
(function() {

'use strict';
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-pdf.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions example/js/directives/angular-pdf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*! Angular-PDF Version: 1.3.0 | Released under an MIT license */
/* global angular, PDFJS */
/*! Angular-PDF Version: 1.3.1 | Released under an MIT license */
(function() {

'use strict';
Expand Down Expand Up @@ -166,8 +165,7 @@
}

if (url && url.length) {
pdfLoaderTask = PDFJS.getDocument(params);
pdfLoaderTask.onProgress = scope.onProgress;
pdfLoaderTask = PDFJS.getDocument(params, null, null, scope.onProgress);
pdfLoaderTask.then(
function(_pdfDoc) {
if (typeof scope.onLoad === 'function') {
Expand Down
Loading

0 comments on commit 2b50642

Please sign in to comment.