Sha256: 7b1f98eb128946e048a32a35ca1e8ab49078003cc05ddaeb0022abde92a665bb

Contents?: true

Size: 674 Bytes

Versions: 64

Compression:

Stored size: 674 Bytes

Contents

var global = require('./_global');
var hide = require('./_hide');
var uid = require('./_uid');
var TYPED = uid('typed_array');
var VIEW = uid('view');
var ABV = !!(global.ArrayBuffer && global.DataView);
var CONSTR = ABV;
var i = 0;
var l = 9;
var Typed;

var TypedArrayConstructors = (
  'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
).split(',');

while (i < l) {
  if (Typed = global[TypedArrayConstructors[i++]]) {
    hide(Typed.prototype, TYPED, true);
    hide(Typed.prototype, VIEW, true);
  } else CONSTR = false;
}

module.exports = {
  ABV: ABV,
  CONSTR: CONSTR,
  TYPED: TYPED,
  VIEW: VIEW
};

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/_typed.js
immosquare-cleaner-0.1.42 node_modules/core-js/library/modules/_typed.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/_typed.js