diff --git a/worker/boot.js b/worker/boot.js deleted file mode 100644 index cc3896c2a..000000000 --- a/worker/boot.js +++ /dev/null @@ -1,19 +0,0 @@ -/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / -/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ - -'use strict'; - -importScripts('console.js'); -importScripts('message_handler.js'); -importScripts('../pdf.js'); -importScripts('../fonts.js'); -importScripts('../crypto.js'); -importScripts('../glyphlist.js'); -importScripts('../metrics.js'); -importScripts('handler.js'); - -// Listen for messages from the main thread. -var pdfDoc = null; - -var handler = new MessageHandler("worker", this); -WorkerHandler.setup(handler); diff --git a/worker/boot_processor.js b/worker/boot_processor.js index 241870c5c..cc3896c2a 100644 --- a/worker/boot_processor.js +++ b/worker/boot_processor.js @@ -9,6 +9,7 @@ importScripts('../pdf.js'); importScripts('../fonts.js'); importScripts('../crypto.js'); importScripts('../glyphlist.js'); +importScripts('../metrics.js'); importScripts('handler.js'); // Listen for messages from the main thread.