Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2015/SetValueInBuffer.js
r0c6b92a r79a0317 6 6 var $Uint8Array = GetIntrinsic('%Uint8Array%', true); 7 7 8 var isInteger = require(' ../helpers/isInteger');8 var isInteger = require('math-intrinsics/isInteger'); 9 9 10 10 var IsDetachedBuffer = require('./IsDetachedBuffer'); … … 24 24 var TypeToAO = { 25 25 __proto__: null, 26 Int8: ToInt8,27 Uint8: ToUint8,28 Uint8C: ToUint8Clamp,29 Int16: ToInt16,30 Uint16: ToUint16,31 Int32: ToInt32,32 Uint32: ToUint3226 $Int8: ToInt8, 27 $Uint8: ToUint8, 28 $Uint8C: ToUint8Clamp, 29 $Int16: ToInt16, 30 $Uint16: ToUint16, 31 $Int32: ToInt32, 32 $Uint32: ToUint32 33 33 }; 34 34 … … 94 94 var n = elementSize; // step 3.a 95 95 96 var convOp = TypeToAO[ type]; // step 3.b96 var convOp = TypeToAO['$' + type]; // step 3.b 97 97 98 98 var intValue = convOp(value); // step 3.c
Note:
See TracChangeset
for help on using the changeset viewer.