accept calls without value
This commit is contained in:
parent
14e62b1eac
commit
0a086eb4fd
|
@ -24,9 +24,13 @@ Bus.Connector.prototype.register = function(name, fn, thisValue)
|
|||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @param {Object=} value
|
||||
*/
|
||||
Bus.Connector.prototype.send = function(name, value)
|
||||
{
|
||||
dbg_assert(arguments.length === 2);
|
||||
dbg_assert(arguments.length === 1 || arguments.length === 2);
|
||||
|
||||
if(!this.pair)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue