emberjs/ember.js — pull request #712 by juggy (2012-04-20 02:22:11+00:00)
Title: Switching emptyViews throws an exception

When switching from empty content to empty content in a #each, the emptyView throws an exception. See

http://jsfiddle.net/juggy/MjUbW/3/

This is because we are using the same attribute (emptyView) to store both the class and the view instance. The solution is to use one attributes for each. The view instance is now _emptyView.