mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
* Add connection.getCheck function #2048 * remove unused argument * fix eslint error * fix eslint error
This commit is contained in:
committed by
Rachel Fenichel
parent
c0d96dd33f
commit
dcab9c1013
@@ -603,6 +603,13 @@ Blockly.Connection.prototype.setCheck = function(check) {
|
||||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get a connection's compatibility.
|
||||
* @return {Array} List of compatible value types.
|
||||
*/
|
||||
Blockly.Connection.prototype.getCheck = function() {
|
||||
return this.check_;
|
||||
};
|
||||
/**
|
||||
* Change a connection's shadow block.
|
||||
* @param {Element} shadow DOM representation of a block or null.
|
||||
|
||||
Reference in New Issue
Block a user