Merge pull request #329 from Rulexec/master

Thorfile typo fix and chainable on/off.
This commit is contained in:
Eric Rowell
2013-03-20 10:01:04 -07:00
3 changed files with 5 additions and 1 deletions

View File

@@ -98,6 +98,7 @@
*/
beforeDraw: function(func) {
this.beforeDrawFunc = func;
return this;
},
/**
* set after draw handler
@@ -107,6 +108,7 @@
*/
afterDraw: function(func) {
this.afterDrawFunc = func;
return this;
},
/**
* get layer canvas

View File

@@ -52,6 +52,7 @@
handler: handler
});
}
return this;
},
/**
* remove event bindings from the node. Pass in a string of
@@ -89,6 +90,7 @@
delete this.eventListeners[baseEvent];
}
}
return this;
},
/**
* remove child from container, but don't destroy it