blockly-fluid 1.3.18 → 1.3.19

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
@@ -157,7 +157,7 @@ module.exports = (Blockly, { generator: languageGeneratorFallback, generators: l
157
157
 
158
158
  dummy.appendField(new Blockly.FieldDropdown(...[
159
159
  ((Array.isArray(field.options)) ? field.options.map((option) => [option, option]) : Object.entries(field.options)).map(([name, text]) => (
160
- ((typeof name === "symbol") && (name.description.toLowerCase() === "separator"))
160
+ ((name.toLowerCase().startsWith("separator")) && (text === true))
161
161
  ? "separator"
162
162
  : [
163
163
  translate((typeof text === "function") ? text() : text),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly-fluid",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
4
4
  "description": "A flexible proxy wrapper for Blockly blocks.",
5
5
  "main": "index.js",
6
6
  "scripts": {