diff --git a/admin/blockly.js b/admin/blockly.js index 95e87a9..936223b 100644 --- a/admin/blockly.js +++ b/admin/blockly.js @@ -35,32 +35,30 @@ Blockly.Words['ifttt_log_error'] = {"en": "error", // Blockly.Sendto is global variable and defined in javascript/admin/google-blockly/own/blocks_sendto.js Blockly.Sendto.blocks['ifttt'] = - '' - + ' ' - + ' ' - + ' ' - + ' ' - + ' state' - + ' ' - + ' ' - + ' ' - + ' ' - + ' value1' - + ' ' - + ' ' - + ' ' - + ' ' - + ' value2' - + ' ' - + ' ' - + ' ' - + ' ' - + ' value3' - + ' ' - + ' ' - + ' ' - + ' ' - + ''; + '' + + ' .0' + + ' ' + + ' ' + + ' ' + + ' state' + + ' ' + + ' ' + + ' ' + + ' ' + + ' value1' + + ' ' + + ' ' + + ' ' + + ' ' + + ' value2' + + ' ' + + ' ' + + ' ' + + ' ' + + ' value3' + + ' ' + + ' ' + + ''; Blockly.Blocks['ifttt'] = { init: function() { @@ -107,7 +105,7 @@ Blockly.Blocks['ifttt'] = { [Blockly.Translate('ifttt_log_info'), 'log'], [Blockly.Translate('ifttt_log_debug'), 'debug'], [Blockly.Translate('ifttt_log_warn'), 'warn'], - [Blockly.Translate('ifttt_log_error'), 'error'] + [Blockly.Translate('ifttt_log_error'), 'error'], ]), 'LOG'); this.setInputsInline(false); @@ -117,7 +115,7 @@ Blockly.Blocks['ifttt'] = { this.setColour(Blockly.Sendto.HUE); this.setTooltip(Blockly.Translate('ifttt_tooltip')); this.setHelpUrl(Blockly.Translate('ifttt_help')); - } + }, }; Blockly.JavaScript['ifttt'] = function(block) {