add ?file= parameter to test.html
This commit is contained in:
parent
fa4c34ad06
commit
76cb96f1cd
@ -52,7 +52,8 @@ function load() {
|
|||||||
pageDisplay = document.getElementById("pageNumber");
|
pageDisplay = document.getElementById("pageNumber");
|
||||||
infoDisplay = document.getElementById("info");
|
infoDisplay = document.getElementById("info");
|
||||||
pageNum = parseInt(queryParams().page) || 1;
|
pageNum = parseInt(queryParams().page) || 1;
|
||||||
open("compressed.tracemonkey-pldi-09.pdf");
|
fileName = queryParams().file || "compressed.tracemonkey-pldi-09.pdf";
|
||||||
|
open(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
function open(url) {
|
function open(url) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user