Adds UMD headers to core, display and shared files.
This commit is contained in:
parent
1b5940edd2
commit
6b60c8f4db
54 changed files with 1876 additions and 572 deletions
|
@ -12,7 +12,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals PDFJS, combineUrl, StatTimer, Promise */
|
||||
/* globals PDFJS, pdfjsSharedUtil */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
@ -196,7 +196,8 @@ var Driver = (function DriverClosure() {
|
|||
|
||||
this._log('Loading file "' + task.file + '"\n');
|
||||
|
||||
var absoluteUrl = combineUrl(window.location.href, task.file);
|
||||
var absoluteUrl = pdfjsSharedUtil.combineUrl(window.location.href,
|
||||
task.file);
|
||||
|
||||
PDFJS.disableRange = task.disableRange;
|
||||
PDFJS.disableAutoFetch = !task.enableAutoFetch;
|
||||
|
@ -360,7 +361,7 @@ var Driver = (function DriverClosure() {
|
|||
}
|
||||
page.cleanup();
|
||||
task.stats = page.stats;
|
||||
page.stats = new StatTimer();
|
||||
page.stats = new pdfjsSharedUtil.StatTimer();
|
||||
self._snapshot(task, error);
|
||||
});
|
||||
initPromise.then(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue