mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
fix(memory): load Pixi CSP-safe renderer shim (#4363)
This commit is contained in:
@@ -105,6 +105,7 @@ vi.mock('pixi.js', () => ({
|
||||
Container: h.Container,
|
||||
Graphics: h.Graphics,
|
||||
}));
|
||||
vi.mock('pixi.js/unsafe-eval', () => ({}));
|
||||
|
||||
function makeNodes(): SimNode[] {
|
||||
return [
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* interacting) we redraw each frame; once it cools the loop idles.
|
||||
*/
|
||||
import { Application, Container, type FederatedPointerEvent, Graphics } from 'pixi.js';
|
||||
import 'pixi.js/unsafe-eval';
|
||||
|
||||
import {
|
||||
createSimulation,
|
||||
|
||||
Reference in New Issue
Block a user