From 4deb6a3d255c9439f75b889e82d3ca435de6046a Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 10 Nov 2024 20:37:29 -0500 Subject: [PATCH] ScriptableNode: Rename global to ScriptableNodeResources (#1360) * ScriptableNode: Rename global to ScriptableNodeResources * Update three.js * Add examples * Update patch and delete examples --- three.js | 2 +- types/three/src/nodes/code/ScriptableNode.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/three.js b/three.js index 4e6f91464..e7e4ceb89 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit 4e6f91464054afd31d5b89ce123cc6db695e17d0 +Subproject commit e7e4ceb8901a428e047aaeecef6c79b55115151b diff --git a/types/three/src/nodes/code/ScriptableNode.d.ts b/types/three/src/nodes/code/ScriptableNode.d.ts index 7922afe12..7f7959e87 100644 --- a/types/three/src/nodes/code/ScriptableNode.d.ts +++ b/types/three/src/nodes/code/ScriptableNode.d.ts @@ -5,7 +5,7 @@ declare class Resources extends Map { get(key: string, callback?: ((...args: TArgs) => void) | null, ...params: TArgs): unknown; } -export const global: Resources; +export const ScriptableNodeResources: Resources; declare class ScriptableNode extends Node { codeNode: Node | null;