Files
blockly/core/input.js.rej
2016-09-28 10:36:40 -04:00

24 lines
582 B
Plaintext

***************
*** 43,49 ****
* @constructor
*/
Blockly.Input = function(type, name, block, connection) {
- this.type = type;
this.name = name;
this.sourceBlock_ = block;
this.connection = connection;
--- 43,55 ----
* @constructor
*/
Blockly.Input = function(type, name, block, connection) {
+ if (type == Blockly.INDENTED_VALUE){
+ this.type = Blockly.INPUT_VALUE;
+ this.subtype = Blockly.INDENTED_VALUE;
+ }
+ else {
+ this.type = type;
+ }
this.name = name;
this.sourceBlock_ = block;
this.connection = connection;