Move debugger to the web folder.

This commit is contained in:
Brendan Dahl 2012-02-15 14:55:16 -08:00
parent 45e3db77f2
commit f17a1679eb
5 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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) {

View File

@ -24,8 +24,7 @@ var files = [
'stream.js',
'worker.js',
'../external/jpgjs/jpg.js',
'jpx.js',
'debugger.js'
'jpx.js'
];
// Load all the files.

View File

@ -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>