From: Tim de Koning Date: Thu, 28 Jun 2012 07:14:51 +0000 (+0200) Subject: - Feature detection for setProperty feature detection should not return value X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8292951d0c4206951c5f4598815f4cc9e5bf670e;p=pdf.js.git - Feature detection for setProperty feature detection should not return value - Minor comment update --- 8292951d0c4206951c5f4598815f4cc9e5bf670e diff --cc web/compatibility.js index 825dce6,56a0ba4..4b7119c --- a/web/compatibility.js +++ b/web/compatibility.js @@@ -10,10 -10,10 +10,10 @@@ if (typeof Uint8Array.prototype.subarray === 'undefined') { Uint8Array.prototype.subarray = function subarray(start, end) { return new Uint8Array(this.slice(start, end)); - } + }; Float32Array.prototype.subarray = function subarray(start, end) { -- return new Float32Array(this.slice(start, end)); - } ++ return new Float32Array(this.slice(start, end)); + }; } // some mobile version might not support Float64Array