Skip to content

Commit e2ac2ca

Browse files
committed
Fixed bugs.
1 parent c771dc3 commit e2ac2ca

21 files changed

+9
-8
lines changed

dist/NanoJSON.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/NanoJSON.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// path: "/package.json",
150150
json: {
151151
"name": "NanoJSON",
152-
"version": "0.3.3",
152+
"version": "0.3.4",
153153
"description": "NanoJSON is a lightweight JSON editing library built on pure JavaScript and native APIs. It can be easily embedded into websites.",
154154
"repository": "https://github.com/pardnchiu/NanoJSON.git",
155155
"npm": "https://www.npmjs.com/package/@pardnchiu/nanojson",
@@ -165,6 +165,7 @@
165165
}
166166
},
167167
"release": {
168+
"0.3.4": "Fixed bugs.",
168169
"0.3.2-0.3.3": "Switched to block-based child node rendering.",
169170
"0.3.1": "Added initialization settings and fixed the issue of the Boolean selection box disappearing.",
170171
"0.3.0": "Minified the Icons. Added `reset` Function.",

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@pardnchiu/nanojson",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "NanoJSON is a lightweight JSON editing library built on pure JavaScript and native APIs. Can be easily embedded into websites.",
55
"main": "dist/NanoJSON.js",
66
"module": "dist/NanoJSON.esm.js",
77
"types": "src/interface.ts",
88
"scripts": {
9-
"build:debug": "npx terser src/*.js src/function/*.js src/model/*.js -o dist/NanoJSON.debug.js",
10-
"build:min": "npx terser src/*.js src/function/*.js src/model/*.js -c -m -o dist/NanoJSON.js --config-file terser.config.json --name-cache terser.cache.json",
11-
"build:esm": "npx terser src/*.js src/function/*.js src/model/*.js -c -m -o dist/NanoJSON.esm.js --config-file terser.config.json --name-cache terser.cache.json && echo 'export const JSONEditor = window.JSONEditor;' >> dist/NanoJSON.esm.js",
9+
"build:debug": "npx terser src/*.js src/**/*.js -o dist/NanoJSON.debug.js",
10+
"build:min": "npx terser src/*.js src/**/*.js -c -m -o dist/NanoJSON.js --config-file terser.config.json --name-cache terser.cache.json",
11+
"build:esm": "npx terser src/*.js src/**/*.js -c -m -o dist/NanoJSON.esm.js --config-file terser.config.json --name-cache terser.cache.json && echo 'export const JSONEditor = window.JSONEditor;' >> dist/NanoJSON.esm.js",
1212
"build:once": "npm-run-all build:debug build:min build:esm",
13-
"build": "chokidar src/*.js src/function/*.js src/model/*.js -c 'npm run build:once'",
13+
"build": "chokidar src/*.js src/**/*.js src/**/**/*.js -c 'npm run build:once'",
1414
"sass:library": "sass src/sass:dist/ -w --style compressed --no-source-map",
1515
"sass:index": "sass static/sass/:static/css/ -w --style compressed --no-source-map",
1616
"sass": "npm-run-all sass:library sass:index"

src/data.js

62 Bytes
Binary file not shown.

src/function/UUID.js

280 Bytes
Binary file not shown.

src/function/addEvent.js

3 Bytes
Binary file not shown.

src/function/childAddButton.js

543 Bytes
Binary file not shown.

src/function/collapseButton.js

508 Bytes
Binary file not shown.

src/function/createChildAddButton.js

-608 Bytes
Binary file not shown.

src/function/createCollapseButton.js

-486 Bytes
Binary file not shown.

src/function/createElement.js

1.27 KB
Binary file not shown.

src/function/createKeyInput.js

-1.01 KB
Binary file not shown.

src/function/createTypeSelect.js

-1.96 KB
Binary file not shown.

src/function/createValueInput.js

-3.09 KB
Binary file not shown.

src/function/getJSON.js

-22 Bytes
Binary file not shown.

src/function/getUUID.js

-283 Bytes
Binary file not shown.

src/function/keyInput.js

990 Bytes
Binary file not shown.

src/function/typeSelect.js

1.85 KB
Binary file not shown.

src/function/valueInput.js

3.09 KB
Binary file not shown.

src/model/JSONEditorNode.js

-33 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)