+
Advice
Regstry
[ UI ]
[ Data ]
this.after("initialize", function() {
this.on("uiItemsRequested", this.serveMailItems);
this.on("dataItemsRefreshRequested", this.serveMailItems);
});
this.forwardMail = function(ev, data) {
this.trigger('uiForwardMail');
};
function attachTo(selector/*, options args */) {
if (!selector) {
throw new Error();
}
$(selector).each(function(i, node) {
new this(node, options);
}.bind(this));
}