dropflow
Version:
A small CSS2 document renderer built from specifications
11 lines (10 loc) • 389 B
JavaScript
export const locatorFunction = {
value: async () => {
throw new Error('Wasm location not configured. Import setBundleLocator from ' +
'\'dropflow/wasm-locator.js\' before importing \'dropflow\' and ' +
'pass it a function that fetches and returns a Uint8Array');
}
};
export default function setBundleLocator(fn) {
locatorFunction.value = fn;
}