mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20: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
|
@ -503,8 +503,8 @@ Object.defineProperty(PDFJS, 'isLittleEndian', {
|
|||
}
|
||||
});
|
||||
|
||||
//#if !(FIREFOX || MOZCENTRAL || B2G || CHROME)
|
||||
//// Lazy test if the userAgant support CanvasTypedArrays
|
||||
//#if !(FIREFOX || MOZCENTRAL || CHROME)
|
||||
//// Lazy test if the userAgent support CanvasTypedArrays
|
||||
function hasCanvasTypedArrays() {
|
||||
var canvas = document.createElement('canvas');
|
||||
canvas.width = canvas.height = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue