summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/aiscript.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-01 16:07:05 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-01 16:07:05 +0900
commitca6fc9cd792b1e0de662790a4421315287b7807b (patch)
tree398affd59b9916fdfc7988db4137f1aa8b28a8a8 /src/client/app/common/scripts/aiscript.ts
parentImprove AiScript (diff)
downloadsharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.tar.gz
sharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.tar.bz2
sharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.zip
Remove strConcat function
Diffstat (limited to 'src/client/app/common/scripts/aiscript.ts')
-rw-r--r--src/client/app/common/scripts/aiscript.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/aiscript.ts b/src/client/app/common/scripts/aiscript.ts
index 1e486c455d..a6fedcae0c 100644
--- a/src/client/app/common/scripts/aiscript.ts
+++ b/src/client/app/common/scripts/aiscript.ts
@@ -80,7 +80,6 @@ const funcDefs = {
strPick: { in: ['string', 'number'], out: 'string', category: 'text', icon: faQuoteRight, },
strReplace: { in: ['string', 'string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
strReverse: { in: ['string'], out: 'string', category: 'text', icon: faQuoteRight, },
- strConcat: { in: ['string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
join: { in: ['stringArray', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, },
numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, },
@@ -500,7 +499,6 @@ export class AiScript {
strPick: (a, b) => a[b - 1],
strReplace: (a, b, c) => a.split(b).join(c),
strReverse: (a) => a.split('').reverse().join(''),
- strConcat: (a, b) => a + b,
join: (texts, separator) => texts.join(separator || ''),
stringToNumber: (a) => parseInt(a),
numberToString: (a) => a.toString(),