update code generators
This commit is contained in:
@@ -18,16 +18,6 @@ Blockly.Blocks["sensebox_osem_connection"] = {
|
||||
this.setColour(getColour().sensebox);
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.senseBox_osem_connection)
|
||||
.appendField(
|
||||
new Blockly.FieldDropdown([
|
||||
[Blockly.Msg.senseBox_osem_host, '"ingress.opensensemap.org"'],
|
||||
[
|
||||
Blockly.Msg.senseBox_osem_host_workshop,
|
||||
'"ingress.workshop.opensensemap.org"',
|
||||
],
|
||||
]),
|
||||
"host"
|
||||
)
|
||||
.appendField("SSL")
|
||||
.appendField(new Blockly.FieldCheckbox("TRUE"), "SSL");
|
||||
this.appendDummyInput()
|
||||
|
||||
@@ -50,7 +50,7 @@ Blockly.Blocks["sensebox_wifi_status"] = {
|
||||
},
|
||||
};
|
||||
|
||||
Blockly.Blocks["sensebox_wifi_ip"] = {
|
||||
Blockly.Blocks["sensebox_get_ip"] = {
|
||||
init: function () {
|
||||
this.setTooltip(Blockly.Msg.senseBox_wifi_ip_tooltip);
|
||||
this.setColour(getColour().sensebox);
|
||||
|
||||
Reference in New Issue
Block a user