From 4b435f0fa2c9cab2d0c33f5dad9301a738d9c120 Mon Sep 17 00:00:00 2001 From: Michael Dougall <6801309+itsdouges@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:02:55 +1100 Subject: [PATCH] Extract editor logic out of scene adeira-source-id: 731378832a99535c6a4f57253caa6aa8e80a4a86 --- .changeset/thirty-games-work.md | 7 +++++++ examples/test-fixture/src/geometry/error.tsx | 11 +++++++++++ examples/test-fixture/src/geometry/syntax-error.tsx | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .changeset/thirty-games-work.md create mode 100644 examples/test-fixture/src/geometry/error.tsx create mode 100644 examples/test-fixture/src/geometry/syntax-error.tsx diff --git a/.changeset/thirty-games-work.md b/.changeset/thirty-games-work.md new file mode 100644 index 00000000..9ce88900 --- /dev/null +++ b/.changeset/thirty-games-work.md @@ -0,0 +1,7 @@ +--- +"@triplex/bridge": patch +"@triplex/client": patch +"@triplex/scene": patch +--- + +Internal refactor. diff --git a/examples/test-fixture/src/geometry/error.tsx b/examples/test-fixture/src/geometry/error.tsx new file mode 100644 index 00000000..b6ec3a5a --- /dev/null +++ b/examples/test-fixture/src/geometry/error.tsx @@ -0,0 +1,11 @@ +/** + * Copyright (c) Michael Dougall. All rights reserved. + * + * This source code is licensed under the GPL-3.0 license found in the LICENSE + * file in the root directory of this source tree. + */ +function RenderError() { + throw new Error("Error!"); +} + +export default RenderError; diff --git a/examples/test-fixture/src/geometry/syntax-error.tsx b/examples/test-fixture/src/geometry/syntax-error.tsx new file mode 100644 index 00000000..b44e8f12 --- /dev/null +++ b/examples/test-fixture/src/geometry/syntax-error.tsx @@ -0,0 +1,13 @@ +/** + * Copyright (c) Michael Dougall. All rights reserved. + * + * This source code is licensed under the GPL-3.0 license found in the LICENSE + * file in the root directory of this source tree. + */ +(function + +function SyntaxError() { + return null; +} + +export default SyntaxError;