Skip to content

Commit

Permalink
docs 업데이트 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
redgoose-dev committed Jun 16, 2024
1 parent 1fe4aa4 commit ddf6458
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="./images/json-editor-banner.webp">
<link rel="shortcut icon" href="./favicon.ico">
<link rel="icon" type="image/x-icon" href="./images/json-editor-icon.png">
<script type="module" crossorigin src="./assets/index-CbbK33mH.js"></script>
<script type="module" crossorigin src="./assets/index-BDoPEOr-.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DbaNkN54.css">
</head>
<body ontouchstart="">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@redgoose/json-editor",
"description": "Easy editing JSON data",
"author": "redgoose <scripter@me.com>",
"version": "1.2.1",
"version": "1.2.2",
"keywords": [ "json", "editor", "library", "tool" ],
"license": "MIT",
"main": "./lib/json-editor.js",
Expand Down
4 changes: 2 additions & 2 deletions src/docs/components/editor/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ function setupJsonEditor()
editor = new JsonEditor(_editor, {
live: true,
theme: $theme,
node: $source,
openDepth: 3,
})
editor.replace($source, {}, false)
_editor.addEventListener('update', updateSource)
_editor.addEventListener('context', customContext)
dispatch('init', { instance: editor })
Expand All @@ -80,7 +81,6 @@ function restartJsonEditor()
{
if (!_editor) return
destroyJsonEditor()
// TODO: 언어변경
setupJsonEditor()
}
Expand Down

0 comments on commit ddf6458

Please sign in to comment.