This commit is contained in:
Peter Cottle 2013-01-04 22:34:14 -08:00
parent a12bc276ae
commit 19b6038f55
7 changed files with 514 additions and 91 deletions

View file

@ -90,6 +90,7 @@ EventBaton.prototype.releaseBaton = function(name, func, context) {
if (!found) {
console.log('did not find that function', func, context, name, arguments);
console.log(this.eventMap);
throw new Error('cant releasebaton if yu dont have it');
}
this.eventMap[name] = newListeners;