config.js 158 Bytes Edit Raw Blame History 1 2 3 4 5 6 export var config = { onError: function (e) { return console.error(e); }, }; export var setConfig = function (conf) { Object.assign(config, conf); };