blockly-fluid 1.0.15 → 1.0.16
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.
- package/index.js +8 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -221,9 +221,10 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
|
|
|
221
221
|
},
|
|
222
222
|
output: true,
|
|
223
223
|
|
|
224
|
-
generator({ TEXT = `""` })
|
|
225
|
-
|
|
226
|
-
|
|
224
|
+
generator: ({ TEXT = `""` }) => [
|
|
225
|
+
`"${TEXT}"`,
|
|
226
|
+
"atomic"
|
|
227
|
+
]
|
|
227
228
|
};
|
|
228
229
|
|
|
229
230
|
Blocks["number"] = {
|
|
@@ -240,9 +241,10 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
|
|
|
240
241
|
},
|
|
241
242
|
output: Number,
|
|
242
243
|
|
|
243
|
-
generator({ NUMBER = 0 })
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
generator: ({ NUMBER = 0 }) => [
|
|
245
|
+
NUMBER,
|
|
246
|
+
"atomic"
|
|
247
|
+
]
|
|
246
248
|
};
|
|
247
249
|
|
|
248
250
|
return Blocks;
|