mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Update util.js
Fixes comments for preprocessor
This commit is contained in:
parent
e80c6a8a75
commit
1d0286f6a1
1 changed files with 1 additions and 2 deletions
|
@ -427,7 +427,7 @@ Object.defineProperty(PDFJS, 'isLittleEndian', {
|
|||
});
|
||||
|
||||
//#if !(FIREFOX || MOZCENTRAL || B2G || CHROME)
|
||||
// Lazy test if the userAgant support CanvasTypedArrays
|
||||
//// Lazy test if the userAgant support CanvasTypedArrays
|
||||
function hasCanvasTypedArrays() {
|
||||
var canvas = document.createElement('canvas');
|
||||
canvas.width = canvas.height = 1;
|
||||
|
@ -443,7 +443,6 @@ Object.defineProperty(PDFJS, 'hasCanvasTypedArrays', {
|
|||
}
|
||||
});
|
||||
|
||||
// Uint32ArrayView
|
||||
var Uint32ArrayView = (function Uint32ArrayViewClosure() {
|
||||
|
||||
function Uint32ArrayView(buffer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue