mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fixes preprocessor testing and adds deadcode removal.
This commit is contained in:
parent
f828f07ccd
commit
6265bb6038
7 changed files with 100 additions and 46 deletions
13
external/builder/fixtures_esprima/deadcode-expected.js
vendored
Normal file
13
external/builder/fixtures_esprima/deadcode-expected.js
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
function f1() {
|
||||
}
|
||||
function f2() {
|
||||
return 1;
|
||||
}
|
||||
function f3() {
|
||||
var i = 0;
|
||||
throw "test";
|
||||
}
|
||||
function f4() {
|
||||
var i = 0;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue