1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

[B2G] UI tweak for multi-resolution devices support on B2G

This commit is contained in:
Rex Lee 2013-04-18 11:13:01 +02:00
parent 869b8788ab
commit 3e480f84a6
5 changed files with 102 additions and 86 deletions

View file

@ -46,7 +46,11 @@ var NetworkManager = (function NetworkManagerClosure() {
this.httpHeaders = args.httpHeaders || {};
this.getXhr = args.getXhr ||
function NetworkManager_getXhr() {
//#if B2G
// return new XMLHttpRequest({ mozSystem: true });
//#else
return new XMLHttpRequest();
//#endif
};
this.currXhrId = 0;