icholy/ember-handlebars-brunch — pull request #4 by bartsqueezy (2013-01-31 03:23:12+00:00)
Title: revert back to exporting module.id instead of template function

Not sure if you want to pull this change back into the repo, but after testing your newest changes with the latest ember.js build, the application breaks when trying to load templates. The `templateForName` function within the `Ember.View` class expects a templateName string to lookup, rather than the template function itself. This was causing a syntax error when trying to parse `name.indexOf('.')`. Reverting to the old way of exporting the module.id (with `/templates` removed from the string) seemed to fix the issue.