mirror of
https://github.com/sensebox/blockly-app
synced 2025-02-23 16:23:59 +01:00
25 lines
600 B
JavaScript
25 lines
600 B
JavaScript
/**
|
|
* @license Licensed under the Apache License, Version 2.0 (the "License"):
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Ardublockly JavaScript for the Blockly resources and bindings.
|
|
*/
|
|
'use strict';
|
|
|
|
goog.provide('Blockly.Blocks.test');
|
|
|
|
goog.require('Blockly.Blocks');
|
|
|
|
Blockly.Blocks.test.HUE = 180;
|
|
|
|
/* Ardublockly logo block */
|
|
Blockly.Blocks['ardublockly_name_top'] = {
|
|
init: function() {
|
|
this.appendDummyInput()
|
|
.appendField(Blockly.Msg.BLOCKS_TEST_);
|
|
this.setNextStatement(true);
|
|
this.setColour(Blockly.Blocks.test.HUE);
|
|
}
|
|
};
|