blockly-fluid 1.0.13 → 1.0.14

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -164,7 +164,7 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
164
164
  let current = hatBlock.getNextBlock();
165
165
 
166
166
  while (current) {
167
- code += (languageGenerator.forBlock.hasOwnProperty(current.type)) ? languageGenerator.forBlock[current.type](current) : "";
167
+ code += (languageGenerator.forBlock[current.type]) ? languageGenerator.forBlock[current.type](current) : "";
168
168
 
169
169
  current = current.getNextBlock();
170
170
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly-fluid",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "A flexible proxy wrapper for Blockly blocks.",
5
5
  "main": "index.js",
6
6
  "scripts": {