1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-23 00:28:06 +02:00
This commit is contained in:
Artur Adib 2011-10-25 10:43:28 -07:00
parent 6a2872912a
commit 3a8aad0f36
3 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
var PDF = {};
(function(globalScope){
(function(globalScope) {
// Use strict in our context only - users might not want it
'use strict';
@ -11,7 +11,7 @@ var PDF = {};
var useWorker = false;
var console;
// Files are inserted below - see Makefile
// Files are inserted below - see Makefile
/* INSERT_POINT */
// Worker-specific
@ -20,7 +20,7 @@ var PDF = {};
} else {
var consoleTimer = {};
console = workerConsole;
// Listen for messages from the main thread.
var handler = new MessageHandler('worker_processor', globalScope);
WorkerProcessorHandler.setup(handler);

View file

@ -169,4 +169,4 @@ var workerConsole = {
}
this.log('Timer:', name, Date.now() - time);
}
};
};