Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Cast.prototype.renderNew = function(block){
this.emit('render', block)
fastdom.write(function(){
this.el.appendChild(block.el);
}.bind(this));
fastdom.defer(block.show.bind(block));
};