Commit d4eefb3e by Thimo Kraemer

Added cleanUp method for binders

parent 5930c4f2
......@@ -256,6 +256,9 @@ kss._cleanUp = function(purgeAll, observed) {
var bnd = binders[i];
if(purgeAll || !html.contains(bnd.node)) {
bnd.node = null;
if (bnd.binder.cleanUp) {
bnd.binder.cleanUp();
}
binders.splice(i, 1);
}
}
......
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