emberjs/ember.js — pull request #539 by pangratz (2012-02-24 22:18:56+00:00)
Title: Improve error handling for not allowed setting of View#elementId

Implement error handling for a not allowed setting of elementId property on a view in a beforeObserver instead of a normal observer. Raising an error sooner prevents the actual change of the elementId.

This adresses change made in 286b7b008b7039d116a7bcf6d90ee5e3cfc71d90