diff options
author | Florrie <towerofnix@gmail.com> | 2019-12-21 13:45:43 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-12-21 13:45:43 -0400 |
commit | c2ba7dca47faadda94613ef10f6c408fd952b546 (patch) | |
tree | 7bd29c2a1fa0bf7feb40dd02a1af06dcb9791149 | |
parent | 5fe6282bfc5f96319d257aff9da7444b52a456e3 (diff) |
support empty boolean in not
probably need to do this for all boolean inputs
-rw-r--r-- | src/js/sb3-gen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/sb3-gen.js b/src/js/sb3-gen.js index 6a42f0a..58c8452 100644 --- a/src/js/sb3-gen.js +++ b/src/js/sb3-gen.js @@ -300,7 +300,7 @@ function blockToScratchblocks(block, target) { case 'operator_or': return boolop('or'); case 'operator_not': - return `<not ${i('OPERAND')}>`; + return `<not ${i('OPERAND') || '<>'}>`; case 'operator_join': return `(join ${i('STRING1')} ${i('STRING2')})`; case 'operator_letter_of': |