Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 515e77e

Browse files
committed
update README
1 parent 9505c16 commit 515e77e

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ onmessage = function (data) {
255255
## Hotload
256256
![Code Hotload](jsb_build/res/hotload.gif)
257257

258+
## Editor in Scripts
259+
![JS Module Viewer](jsb_build/res/js_module_viewer.png)
260+
> This is a built-in tool implemented in typescript to checkout all loaded commonjs modules in javascript runtime, also an example for implementing EditorWindow in scripts.
261+
258262
## Hotfix
259263
> This feature is unfinished.
260264

README_cn.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ onmessage = function (data) {
307307

308308
> 当 JSBehaviour 关联脚本热加载时, 将触发一次 OnBeforeSerialize, 然后替换为更新后的脚本实例, 并触发 OnAfterDeserialize
309309
310+
## Editor in Scripts
311+
![JS Module Viewer](jsb_build/res/js_module_viewer.png)
312+
> 这是一个用于查看当前载入的 commonjs 模块的完全由 typescript 代码实现的工具窗口, 可以作为在脚本中实现 EditorWindow 写法的例子.
313+
310314
## Hotfix
311315
初步功能, 尚未实现完整流程.
312316

jsb_build/res/js_module_viewer.png

62.5 KB
Loading

0 commit comments

Comments
 (0)