emberjs/ember.js — pull request #713 by joliss (2012-04-20 09:02:39+00:00)
Title: Assert that we do not accidentally specify a string for "template"

If you accidentally specify "template" instead of "templateName" in a
view, you get a cryptic error, like here:
http://stackoverflow.com/questions/10075118/ember-js-view-error-uncaught-typeerror-string-is-not-a-function

This guards against this mistake.

-----------------

Is this kind of assertion reasonable, or is it overly defensive?