mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Move MessageHandler
into a separate src/shared/message_handler.js
file
The `MessageHandler` itself, and its assorted helper functions, are currently the single largest[1] piece of code in the `src/shared/util.js` file. By moving this code into its own file, `src/shared/util.js` thus becomes smaller and more manageable.
This commit is contained in:
parent
69f2a77543
commit
44d8afd46b
7 changed files with 458 additions and 434 deletions
|
@ -62,6 +62,7 @@ function initializePDFJS(callback) {
|
|||
'pdfjs-test/unit/evaluator_spec',
|
||||
'pdfjs-test/unit/fonts_spec',
|
||||
'pdfjs-test/unit/function_spec',
|
||||
'pdfjs-test/unit/message_handler_spec',
|
||||
'pdfjs-test/unit/metadata_spec',
|
||||
'pdfjs-test/unit/murmurhash3_spec',
|
||||
'pdfjs-test/unit/network_spec',
|
||||
|
@ -74,7 +75,6 @@ function initializePDFJS(callback) {
|
|||
'pdfjs-test/unit/ui_utils_spec',
|
||||
'pdfjs-test/unit/unicode_spec',
|
||||
'pdfjs-test/unit/util_spec',
|
||||
'pdfjs-test/unit/util_stream_spec',
|
||||
].map(function (moduleName) {
|
||||
return SystemJS.import(moduleName);
|
||||
})).then(function(modules) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue