2011-10-25 18:18:22 -07:00
|
|
|
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
2012-08-31 15:48:21 -07:00
|
|
|
/* Copyright 2012 Mozilla Foundation
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2011-10-25 18:18:22 -07:00
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
2011-12-22 09:40:00 -05:00
|
|
|
// List of files to include;
|
|
|
|
var files = [
|
2013-02-06 15:19:29 -08:00
|
|
|
'network.js',
|
|
|
|
'chunked_stream.js',
|
|
|
|
'pdf_manager.js',
|
2011-12-22 09:40:00 -05:00
|
|
|
'core.js',
|
|
|
|
'util.js',
|
|
|
|
'canvas.js',
|
|
|
|
'obj.js',
|
|
|
|
'function.js',
|
|
|
|
'charsets.js',
|
|
|
|
'cidmaps.js',
|
|
|
|
'colorspace.js',
|
|
|
|
'crypto.js',
|
|
|
|
'evaluator.js',
|
|
|
|
'fonts.js',
|
|
|
|
'glyphlist.js',
|
|
|
|
'image.js',
|
|
|
|
'metrics.js',
|
|
|
|
'parser.js',
|
|
|
|
'pattern.js',
|
|
|
|
'stream.js',
|
|
|
|
'worker.js',
|
2012-02-13 14:38:44 +00:00
|
|
|
'jpx.js',
|
2012-06-16 15:15:42 -05:00
|
|
|
'jbig2.js',
|
2012-04-26 13:28:38 +02:00
|
|
|
'bidi.js',
|
|
|
|
'../external/jpgjs/jpg.js'
|
2011-12-22 09:40:00 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
// Load all the files.
|
|
|
|
for (var i = 0; i < files.length; i++) {
|
|
|
|
importScripts(files[i]);
|
2011-11-02 23:00:08 +01:00
|
|
|
}
|