Move debugger to the web folder.
This commit is contained in:
parent
45e3db77f2
commit
f17a1679eb
2
Makefile
2
Makefile
@ -36,7 +36,6 @@ PDF_JS_FILES = \
|
||||
pattern.js \
|
||||
stream.js \
|
||||
worker.js \
|
||||
debugger.js \
|
||||
../external/jpgjs/jpg.js \
|
||||
jpx.js \
|
||||
$(NULL)
|
||||
@ -216,6 +215,7 @@ EXTENSION_WEB_FILES = \
|
||||
web/viewer.js \
|
||||
web/viewer.html \
|
||||
web/viewer-production.html \
|
||||
web/debugger.js \
|
||||
$(NULL)
|
||||
|
||||
FIREFOX_BUILD_DIR := $(BUILD_DIR)/firefox
|
||||
|
@ -57,6 +57,7 @@ function getPdf(arg, callback) {
|
||||
xhr.send(null);
|
||||
}
|
||||
globalScope.PDFJS.getPdf = getPdf;
|
||||
globalScope.PDFJS.pdfBug = false;
|
||||
|
||||
var Page = (function PageClosure() {
|
||||
function Page(xref, pageNumber, pageDict, ref) {
|
||||
|
@ -24,8 +24,7 @@ var files = [
|
||||
'stream.js',
|
||||
'worker.js',
|
||||
'../external/jpgjs/jpg.js',
|
||||
'jpx.js',
|
||||
'debugger.js'
|
||||
'jpx.js'
|
||||
];
|
||||
|
||||
// Load all the files.
|
||||
|
@ -29,10 +29,11 @@
|
||||
<script type="text/javascript" src="../src/worker.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
||||
<script type="text/javascript" src="../external/jpgjs/jpg.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
||||
<script type="text/javascript" src="../src/jpx.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
||||
<script type="text/javascript" src="../src/debugger.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
||||
<script type="text/javascript">PDFJS.workerSrc = '../src/worker_loader.js';</script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
||||
<script type="text/javascript" src="debugger.js"></script>
|
||||
<script type="text/javascript" src="viewer.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user