Commit 5fdaf554 authored by Thimo Kraemer's avatar Thimo Kraemer

Added possibility to skip the creation of event binders

parent 2cbd494d
...@@ -723,7 +723,7 @@ kss._EventHandler = function(node, eventname, rule, initial) { ...@@ -723,7 +723,7 @@ kss._EventHandler = function(node, eventname, rule, initial) {
kss.each(kss._eventBinders[eventname], function(binder) { kss.each(kss._eventBinders[eventname], function(binder) {
try { try {
var bnd = new binder(this); var bnd = new binder(this);
node._kssEvtBinders.push(bnd); bnd && node._kssEvtBinders.push(bnd);
} }
catch (err) { catch (err) {
this.error(err); this.error(err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment