Quantumbraid's picture
download
raw
545 Bytes
"use strict";
module.exports = require('./loader')(window, loadImplementation)
/**
* Browser specific loadImplementation. Always uses `window.Promise`
*
* To register a custom implementation, must register with `Promise` option.
*/
function loadImplementation(){
if(typeof window.Promise === 'undefined'){
throw new Error("any-promise browser requires a polyfill or explicit registration"+
" e.g: require('any-promise/register/bluebird')")
}
return {
Promise: window.Promise,
implementation: 'window.Promise'
}
}

Xet Storage Details

Size:
545 Bytes
·
Xet hash:
57f25af6ced2e8a9ed1ea7908d488e5a2eb77f1639906a1a6e49473d6e58a4d7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.