From c7cec09acb3ac09f00094442adefe45bd8935907 Mon Sep 17 00:00:00 2001 From: baletiballo <75846481+baletiballo@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:57:05 +0100 Subject: [PATCH] Renamed Facts.ts to Types.ts, because it holds more types than just the Facts --- .../ScrollView_Server/build/{Facts.js => Types.js} | 6 +++--- .../ScrollView_Server/src/{Facts.ts => Types.ts} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename Assets/StreamingAssets/ScrollView_Server/build/{Facts.js => Types.js} (99%) rename Assets/StreamingAssets/ScrollView_Server/src/{Facts.ts => Types.ts} (99%) diff --git a/Assets/StreamingAssets/ScrollView_Server/build/Facts.js b/Assets/StreamingAssets/ScrollView_Server/build/Types.js similarity index 99% rename from Assets/StreamingAssets/ScrollView_Server/build/Facts.js rename to Assets/StreamingAssets/ScrollView_Server/build/Types.js index a4e7678c..65810abc 100644 --- a/Assets/StreamingAssets/ScrollView_Server/build/Facts.js +++ b/Assets/StreamingAssets/ScrollView_Server/build/Types.js @@ -238,7 +238,7 @@ class Scroll { this.depiction = depiction; this.type = "Scroll"; } -} -function isScroll(s) { - return s.type === "Scroll"; + static isScroll(s) { + return s.type === "Scroll"; + } } diff --git a/Assets/StreamingAssets/ScrollView_Server/src/Facts.ts b/Assets/StreamingAssets/ScrollView_Server/src/Types.ts similarity index 99% rename from Assets/StreamingAssets/ScrollView_Server/src/Facts.ts rename to Assets/StreamingAssets/ScrollView_Server/src/Types.ts index 8bbc8f66..c763ca43 100644 --- a/Assets/StreamingAssets/ScrollView_Server/src/Facts.ts +++ b/Assets/StreamingAssets/ScrollView_Server/src/Types.ts @@ -316,8 +316,8 @@ class Scroll implements Backend_Object{ readonly description: HTMLElement, readonly depiction?: HTMLElement, ) { } -} -function isScroll(s: any): s is Scroll{ - return s.type === "Scroll" + static isScroll(s: any): s is Scroll{ + return s.type === "Scroll" + } } \ No newline at end of file -- GitLab