diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-05-01 16:07:05 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-05-01 16:07:05 +0900 |
| commit | ca6fc9cd792b1e0de662790a4421315287b7807b (patch) | |
| tree | 398affd59b9916fdfc7988db4137f1aa8b28a8a8 /src/client/app/common/scripts | |
| parent | Improve AiScript (diff) | |
| download | sharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.tar.gz sharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.tar.bz2 sharkey-ca6fc9cd792b1e0de662790a4421315287b7807b.zip | |
Remove strConcat function
Diffstat (limited to 'src/client/app/common/scripts')
| -rw-r--r-- | src/client/app/common/scripts/aiscript.ts | 2 |
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(), |