This commit is contained in:
Julian Viereck 2011-09-09 18:14:42 -07:00
parent d639a9a94a
commit 9eb7858586
4 changed files with 18 additions and 735 deletions

18
worker/boot_processor.js Normal file
View file

@ -0,0 +1,18 @@
/* -*- 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('handler.js');
// Listen for messages from the main thread.
var pdfDoc = null;
var handler = new MessageHandler("worker", this);
WorkerHandler.setup(handler);