View.prototype.replaceNav = function () {
var el = magic();
dom(el).addClass('integration-nav');
};
would be cool if the replaced element just carried over the other elements classes, since i can't think of reason i'd apply a data-replace and not want that functionality.
this is a common use case i find myself doing:
would be cool if the replaced element just carried over the other elements classes, since i can't think of reason i'd apply a
data-replace
and not want that functionality.