mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Removes B2G preprocessing directives.
This commit is contained in:
parent
1b847df2f3
commit
f3c3b1fc2d
9 changed files with 12 additions and 91 deletions
|
@ -50,11 +50,7 @@ var NetworkManager = (function NetworkManagerClosure() {
|
|||
this.withCredentials = args.withCredentials || false;
|
||||
this.getXhr = args.getXhr ||
|
||||
function NetworkManager_getXhr() {
|
||||
//#if B2G
|
||||
// return new XMLHttpRequest({ mozSystem: true });
|
||||
//#else
|
||||
return new XMLHttpRequest();
|
||||
//#endif
|
||||
};
|
||||
|
||||
this.currXhrId = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue