diff options
Diffstat (limited to 'node_modules/babel-runtime/node_modules/core-js/modules/_typed.js')
-rw-r--r-- | node_modules/babel-runtime/node_modules/core-js/modules/_typed.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/node_modules/babel-runtime/node_modules/core-js/modules/_typed.js b/node_modules/babel-runtime/node_modules/core-js/modules/_typed.js deleted file mode 100644 index 8747ffd71..000000000 --- a/node_modules/babel-runtime/node_modules/core-js/modules/_typed.js +++ /dev/null @@ -1,28 +0,0 @@ -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 -}; |