add replace to Ember.View #574

Closed
wants to merge 1 commit into
from

2 participants

@pangratz
Ember.js member

This allows the replacement of an already existing (placeholder) element in DOM. Inspired by http://stackoverflow.com/questions/9617789/create-ember-view-from-a-jquery-object

@pangratz pangratz add replace to Ember.View
This allows the replacement of an already existing (placeholder) element in DOM.
ce61391
@wagenet
Ember.js member

Code looks fine. @wycats, @tomdale any concerns?

@pangratz
Ember.js member

I'll create a new Pull Request which adds replace, prependTo, insertBefore and insertAfter ...

@pangratz pangratz closed this Mar 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment