Travis build: 1637 [cron]
This commit is contained in:
3
dist/_30s.es5.js
vendored
3
dist/_30s.es5.js
vendored
@ -1761,8 +1761,7 @@ var round = function round(n) {
|
||||
};
|
||||
|
||||
var runAsync = function runAsync(fn) {
|
||||
var blob = 'var fn = ' + fn.toString() + '; postMessage(fn());';
|
||||
var worker = new Worker(URL.createObjectURL(new Blob([blob]), {
|
||||
var worker = new Worker(URL.createObjectURL(new Blob(['postMessage((' + fn + ')());']), {
|
||||
type: 'application/javascript; charset=utf-8'
|
||||
}));
|
||||
return new Promise(function (res, rej) {
|
||||
|
||||
2
dist/_30s.es5.min.js
vendored
2
dist/_30s.es5.min.js
vendored
File diff suppressed because one or more lines are too long
3
dist/_30s.esm.js
vendored
3
dist/_30s.esm.js
vendored
@ -1013,9 +1013,8 @@ const reverseString = str => [...str].reverse().join('');
|
||||
const round = (n, decimals = 0) => Number(`${Math.round(`${n}e${decimals}`)}e-${decimals}`);
|
||||
|
||||
const runAsync = fn => {
|
||||
const blob = `var fn = ${fn.toString()}; postMessage(fn());`;
|
||||
const worker = new Worker(
|
||||
URL.createObjectURL(new Blob([blob]), {
|
||||
URL.createObjectURL(new Blob([`postMessage((${fn})());`]), {
|
||||
type: 'application/javascript; charset=utf-8'
|
||||
})
|
||||
);
|
||||
|
||||
3
dist/_30s.js
vendored
3
dist/_30s.js
vendored
@ -1019,9 +1019,8 @@ const reverseString = str => [...str].reverse().join('');
|
||||
const round = (n, decimals = 0) => Number(`${Math.round(`${n}e${decimals}`)}e-${decimals}`);
|
||||
|
||||
const runAsync = fn => {
|
||||
const blob = `var fn = ${fn.toString()}; postMessage(fn());`;
|
||||
const worker = new Worker(
|
||||
URL.createObjectURL(new Blob([blob]), {
|
||||
URL.createObjectURL(new Blob([`postMessage((${fn})());`]), {
|
||||
type: 'application/javascript; charset=utf-8'
|
||||
})
|
||||
);
|
||||
|
||||
2
dist/_30s.min.js
vendored
2
dist/_30s.min.js
vendored
File diff suppressed because one or more lines are too long
3512
test/testlog
3512
test/testlog
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user