Browse Source

Update util.js

Fixes comments for preprocessor
Yury Delendik 11 years ago
parent
commit
1d0286f6a1
  1. 3
      src/shared/util.js

3
src/shared/util.js

@ -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…
Cancel
Save