change missing shared array class to string which should never match

This commit is contained in:
Stewart Allen 2023-02-07 15:04:57 -05:00
commit 5b9991815e

View file

@ -21,7 +21,7 @@ const { avgc, trackFn } = utils;
const solid_opacity = 1.0;
const groups = [];
const sharedArrayClass = self.SharedArrayBuffer || undefined;
const sharedArrayClass = self.SharedArrayBuffer || String;
const hasSharedArrays = sharedArrayClass ? true : false;
let nextId = 0;