js/libs/ember-1.5.1.js
function(view) {
    view.triggerRecursively('willClearRender');

    view.clearRenderedChildren();

    view.domManager.replace(view);
    return view;
  }
function(view) {
    view.triggerRecursively('willClearRender');

    view.clearRenderedChildren();

    view.domManager.replace(view);
    return view;
  }
once the view has been inserted into the DOM, rerendering is deferred to allow bindings to synchronize.