From 53124007c2671901a6131c0f0725b85d5532a32f Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 9 Mar 2025 18:01:12 +0900 Subject: [PATCH] Update editor.html --- WelsonJS.Toolkit/WelsonJS.Launcher/editor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html b/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html index 52aaa01..7e916ea 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html @@ -73,7 +73,7 @@ require(["vs/editor/editor.main"], function() { editor = monaco.editor.create(document.getElementById('container'), { - value: ['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'), + value: ['// lib/sayhello.js', 'function say() {', ' console.log("hello");', '}', '', 'exports.say = say;', '', 'exports.VERSIONINFO = "SayHello (sayhello.js) version 0.1";', 'exports.AUTHOR = "abuse@catswords.net";', 'exports.global = global;', 'exports.require = global.require;'].join('\n'), language: 'javascript' }); });