mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-28 22:55:10 +02:00
better zoom support
This commit is contained in:
parent
7750bae1b4
commit
423a353e28
14 changed files with 143 additions and 137 deletions
|
@ -26,7 +26,7 @@ EventBaton.prototype.trigger = function(name) {
|
|||
}
|
||||
|
||||
var listeners = this.eventMap[name];
|
||||
if (!listeners) {
|
||||
if (!listeners || !listeners.length) {
|
||||
console.warn('no listeners for', name);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue