Bump to v3.9.1.

This commit is contained in:
jdalton
2015-05-19 13:50:30 -07:00
parent f84f83a4a5
commit b6f9660ab0
8 changed files with 14 additions and 14 deletions

View File

@@ -2,10 +2,10 @@ var constant = require('../utility/constant'),
getNative = require('./getNative');
/** Native method references. */
var ArrayBuffer = getNative(root, 'ArrayBuffer'),
var ArrayBuffer = getNative(global, 'ArrayBuffer'),
bufferSlice = getNative(ArrayBuffer && new ArrayBuffer(0), 'slice'),
floor = Math.floor,
Uint8Array = getNative(root, 'Uint8Array');
Uint8Array = getNative(global, 'Uint8Array');
/** Used to clone array buffers. */
var Float64Array = (function() {
@@ -13,7 +13,7 @@ var Float64Array = (function() {
// where the array buffer's `byteLength` is not a multiple of the typed
// array's `BYTES_PER_ELEMENT`.
try {
var func = getNative(root, 'Float64Array'),
var func = getNative(global, 'Float64Array'),
result = new func(new ArrayBuffer(10), 0, 1) && func;
} catch(e) {}
return result || null;