Skip to content

Commit 5fa3e46

Browse files
committed
⚡️ デモの表示修正とvアゲ
1 parent d50009d commit 5fa3e46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "javalibraryscript",
3-
"version": "v1.0.8.3",
3+
"version": "v1.0.8.4",
44
"description": "Javaの機能をJavaScriptに適当に再現",
55
"main": "index.js",
66
"scripts": {

test/calculator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,18 @@ const nodeDataDict = {
121121
pow: node({ label: "xⁿ", key: "^", disp: "pow", argLength: 2, type: "func" }),
122122
pow2: node({ label: "x²", disp: "pow", args: [null, "2"], argLength: 2, type: "struct-func" }),
123123
pow10: node({ label: "10ⁿ", disp: "pow", args: [["1", "0"]], argLength: 2, type: "struct-func" }),
124-
sqrt: node({ label: "²√x", disp: "sqrt", argLength: 1, type: "struct-func" }),
124+
sqrt: node({ label: "²√x", disp: "sqrt", argLength: 1, type: "func" }),
125125
nthRoot: node({ label: "ⁿ√x", disp: "nthRoot", argLength: 2, type: "func" }),
126126
abs: node({ label: "|x|", disp: "abs", argLength: 1, type: "func" }),
127127
reciprocal: node({ label: "1/x", disp: "reciprocal", argLength: 1, type: "func" }),
128128
exp: node({ label: "eˣ", disp: "exp", argLength: 1, type: "func" }),
129129
exp2: node({ label: "2ˣ", disp: "exp2", argLength: 1, type: "func" }),
130130
expm1: node({ label: "eˣ⁻¹", disp: "expm1", argLength: 1, type: "func" }),
131-
"!": node({ label: "n!", key: "!", disp: "factorial", argLength: 1, type: "struct-func" }),
131+
"!": node({ label: "n!", key: "!", disp: "factorial", argLength: 1, type: "func" }),
132132
log: node({ label: "log", disp: "log", argLength: 2, type: "func" }),
133133
log2: node({ label: "log₂", disp: "log2", argLength: 1, type: "func" }),
134134
log10: node({ label: "log₁₀", disp: "log10", argLength: 1, type: "func" }),
135-
ln: node({ label: "ln", disp: "ln", argLength: 1, type: "struct-func" }),
135+
ln: node({ label: "ln", disp: "ln", argLength: 1, type: "func" }),
136136
sin: node({ label: "sin", disp: "sin", argLength: 1, type: "func" }),
137137
cos: node({ label: "cos", disp: "cos", argLength: 1, type: "func" }),
138138
tan: node({ label: "tan", disp: "tan", argLength: 1, type: "func" }),

0 commit comments

Comments
 (0)