Update util.js
Fixes comments for preprocessor
This commit is contained in:
parent
e80c6a8a75
commit
1d0286f6a1
@ -427,7 +427,7 @@ Object.defineProperty(PDFJS, 'isLittleEndian', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
//#if !(FIREFOX || MOZCENTRAL || B2G || CHROME)
|
//#if !(FIREFOX || MOZCENTRAL || B2G || CHROME)
|
||||||
// Lazy test if the userAgant support CanvasTypedArrays
|
//// Lazy test if the userAgant support CanvasTypedArrays
|
||||||
function hasCanvasTypedArrays() {
|
function hasCanvasTypedArrays() {
|
||||||
var canvas = document.createElement('canvas');
|
var canvas = document.createElement('canvas');
|
||||||
canvas.width = canvas.height = 1;
|
canvas.width = canvas.height = 1;
|
||||||
@ -443,7 +443,6 @@ Object.defineProperty(PDFJS, 'hasCanvasTypedArrays', {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Uint32ArrayView
|
|
||||||
var Uint32ArrayView = (function Uint32ArrayViewClosure() {
|
var Uint32ArrayView = (function Uint32ArrayViewClosure() {
|
||||||
|
|
||||||
function Uint32ArrayView(buffer) {
|
function Uint32ArrayView(buffer) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user