fix android support
This commit is contained in:
parent
8dba865ca7
commit
30a5176090
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,9 @@ export function repl({
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const scheduler = sync ? new NeoCyclist(schedulerOptions) : new Cyclist(schedulerOptions);
|
// NeoCyclist uses a shared worker to communicate between instances, which is not supported on mobile chrome
|
||||||
|
const scheduler =
|
||||||
|
sync && typeof SharedWorker != 'undefined' ? new NeoCyclist(schedulerOptions) : new Cyclist(schedulerOptions);
|
||||||
let pPatterns = {};
|
let pPatterns = {};
|
||||||
let allTransform;
|
let allTransform;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue