初步增加educore
This commit is contained in:
@@ -1044,4 +1044,14 @@ export const datetime_fromtimestamp = {
|
||||
this.setInputsInline(true);
|
||||
this.setOutput(true, Number);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
export const gene_unique_identifier = {
|
||||
init: function () {
|
||||
this.setColour(LOOPS_HUE);
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.MIXLY_GET_UNIQUE_IDEN);
|
||||
this.setOutput(true)
|
||||
}
|
||||
};
|
||||
@@ -759,4 +759,15 @@ export const dicts_to_to ={
|
||||
this.setTooltip(Blockly.Msg.MIXLY_CONVERT_TO_JSON_TOOLTIP);
|
||||
this.setOutput(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const dicts_to_json2 = {
|
||||
init: function () {
|
||||
this.setColour(DICTS_HUE);
|
||||
this.appendValueInput('DICT');
|
||||
this.appendDummyInput("")
|
||||
.appendField(Blockly.Msg.MIXLY_TO_JSON);
|
||||
this.setTooltip(Blockly.Msg.MIXLY_TO_JSON_TOOLTIP);
|
||||
this.setOutput(true);
|
||||
}
|
||||
};
|
||||
@@ -823,4 +823,18 @@ export const enumerate = {
|
||||
this.setOutput(true);
|
||||
this.setTooltip(Blockly.Msg.MIXLY_TOTO_INDEX_SEQUENC_TOOLTIP);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export const content_in_lists = {
|
||||
init: function () {
|
||||
this.setColour(LISTS_HUE);
|
||||
this.appendValueInput("CON")
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.MIXLY_ESP32_MIXGO_MUSIC_SHOW_IN);
|
||||
this.appendValueInput("LIST")
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.MIXLY_MID);
|
||||
this.setInputsInline(true);
|
||||
this.setOutput(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user