mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 03:15:16 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
|
{"ast":null,"code":"import cloneArrayBuffer from './_cloneArrayBuffer.js';\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_cloneDataView.js"],"names":["cloneArrayBuffer","cloneDataView","dataView","isDeep","buffer","constructor","byteOffset","byteLength"],"mappings":"AAAA,OAAOA,gBAAP,MAA6B,wBAA7B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,aAAT,CAAuBC,QAAvB,EAAiCC,MAAjC,EAAyC;AACvC,MAAIC,MAAM,GAAGD,MAAM,GAAGH,gBAAgB,CAACE,QAAQ,CAACE,MAAV,CAAnB,GAAuCF,QAAQ,CAACE,MAAnE;AACA,SAAO,IAAIF,QAAQ,CAACG,WAAb,CAAyBD,MAAzB,EAAiCF,QAAQ,CAACI,UAA1C,EAAsDJ,QAAQ,CAACK,UAA/D,CAAP;AACD;;AAED,eAAeN,aAAf","sourcesContent":["import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n"]},"metadata":{},"sourceType":"module"}
|