I have Behavior setup in domready pretty much standard like:
var b = new Behavior();
b.passMethods({
  //nothing now
});
b.apply(document.body);
var d = new Delegator({
  getBehavior: function(){ return b; }
}).attach(document.body);
On some click events (using Delegator) I request (JSONP) additional data. With the data that is returned I create new links that are injected into the dom, and I also want to add delegator triggers for various things. How do I re-init Behavior/Delegator correctly to get this working. If I just do new Behavior().apply(document.body); it works, but doesn't look right.
The docs state: [..] It will only invoke a filter once, so it's safe to run it more than once (if the DOM changes, for example).
But should I run Delegator too, is there a better way? TIA