pdf.js/worker/boot_processor.js

20 lines
560 B
JavaScript
Raw Normal View History

2011-09-10 10:14:42 +09:00
/* -*- 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');
2011-09-10 10:16:22 +09:00
importScripts('../metrics.js');
2011-09-10 10:14:42 +09:00
importScripts('handler.js');
// Listen for messages from the main thread.
var pdfDoc = null;
var handler = new MessageHandler("worker", this);
WorkerHandler.setup(handler);