feature(key) add chaining

This commit is contained in:
coderaiser 2014-10-20 12:30:39 -04:00
parent 748405092e
commit 38f928d0af

View file

@ -82,15 +82,21 @@ var CloudCmd, Util, DOM;
this.setBind = function() {
Binded = true;
return Key;
};
this.unsetBind = function() {
Binded = false;
return Key;
};
this.bind = function() {
Events.addKey(listener);
Binded = true;
return Key;
};
function listener(event) {