blockly-fluid 1.4.27 → 1.4.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -200,7 +200,10 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
200
200
  if ((typeof next === "function") ? next() : next) this.setNextStatement(true, null);
201
201
  } else {
202
202
  if (output === "Color") (output = "Colour");
203
- if ((typeof output === "function") && ![String, Number, Boolean, Array, Object].includes(output)) (output = output());
203
+ if ((typeof output === "function") && ![String, Number, Boolean, Array, Object].includes(output)) {
204
+ console.log(output, [String, Number, Boolean, Array, Object].includes(output));
205
+ output = output();
206
+ };
204
207
 
205
208
  this.setPreviousStatement(false);
206
209
  this.setNextStatement(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly-fluid",
3
- "version": "1.4.27",
3
+ "version": "1.4.29",
4
4
  "description": "A flexible proxy wrapper for Blockly blocks.",
5
5
  "main": "index.js",
6
6
  "scripts": {