Internal change

PiperOrigin-RevId: 491724816
This commit is contained in:
Michael Hays 2022-11-29 13:37:18 -08:00 committed by Copybara-Service
parent 09740130e8
commit 88173948ee

View File

@ -1085,8 +1085,8 @@ async function runScript(scriptUrl: string) {
*/ */
export async function createMediaPipeLib<LibType>( export async function createMediaPipeLib<LibType>(
constructorFcn: WasmMediaPipeConstructor<LibType>, constructorFcn: WasmMediaPipeConstructor<LibType>,
wasmLoaderScript?: string, wasmLoaderScript?: string|null,
assetLoaderScript?: string, assetLoaderScript?: string|null,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null, glCanvas?: HTMLCanvasElement|OffscreenCanvas|null,
fileLocator?: FileLocator): Promise<LibType> { fileLocator?: FileLocator): Promise<LibType> {
const scripts = []; const scripts = [];