emberjs/ember.js — pull request #1263 by whather (2012-08-11 22:56:23+00:00)
Title: Self-closing div causes Metamorph error

This PR contains a failing test. I get this error with a self-closing div:
```
Error: Cannot perform operations on a Metamorph that is not in the DOM.
at Metamorph.checkRemoved (metamorph:393:13)
at Metamorph.replaceWith (metamorph:372:10)
at Object.DOMManager.replace (ember-handlebars/views/metamorph_view:37:13)
at invoke (ember-metal/run_loop:45:19)
at iter (ember-metal/run_loop:92:7)
at Array.forEach (native)
at Object.RunLoop.flush (ember-metal/run_loop:148:21)
at Object.RunLoop.end (ember-metal/run_loop:64:10)
at Function.Ember.run.end (ember-metal/run_loop:256:24)
at Object.Ember.run (ember-metal/run_loop:217:9)
```

Changing the test to use a `

` instead of `

` works.