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 \
|
pattern.js \
|
||||||
stream.js \
|
stream.js \
|
||||||
worker.js \
|
worker.js \
|
||||||
debugger.js \
|
|
||||||
../external/jpgjs/jpg.js \
|
../external/jpgjs/jpg.js \
|
||||||
jpx.js \
|
jpx.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
@ -216,6 +215,7 @@ EXTENSION_WEB_FILES = \
|
|||||||
web/viewer.js \
|
web/viewer.js \
|
||||||
web/viewer.html \
|
web/viewer.html \
|
||||||
web/viewer-production.html \
|
web/viewer-production.html \
|
||||||
|
web/debugger.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
FIREFOX_BUILD_DIR := $(BUILD_DIR)/firefox
|
FIREFOX_BUILD_DIR := $(BUILD_DIR)/firefox
|
||||||
|
@ -57,6 +57,7 @@ function getPdf(arg, callback) {
|
|||||||
xhr.send(null);
|
xhr.send(null);
|
||||||
}
|
}
|
||||||
globalScope.PDFJS.getPdf = getPdf;
|
globalScope.PDFJS.getPdf = getPdf;
|
||||||
|
globalScope.PDFJS.pdfBug = false;
|
||||||
|
|
||||||
var Page = (function PageClosure() {
|
var Page = (function PageClosure() {
|
||||||
function Page(xref, pageNumber, pageDict, ref) {
|
function Page(xref, pageNumber, pageDict, ref) {
|
||||||
|
@ -24,8 +24,7 @@ var files = [
|
|||||||
'stream.js',
|
'stream.js',
|
||||||
'worker.js',
|
'worker.js',
|
||||||
'../external/jpgjs/jpg.js',
|
'../external/jpgjs/jpg.js',
|
||||||
'jpx.js',
|
'jpx.js'
|
||||||
'debugger.js'
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// Load all the files.
|
// 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="../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="../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/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">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>
|
<script type="text/javascript" src="viewer.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user