ralphholzmann/require-ember-handlebars-plugin — pull request #3 by gfarrell (2013-07-03 20:14:09+00:00)
Title: Fix Ember variable being set to undefined by module definition (because ember.js doesn't return a module).

Latest versions of Ember don't export it as a module, but rather set it as a global variable. Irritating as that is, having the module definition with the argument `Ember` sets `Ember` to `undefined` in the module scope, which gives us errors like

> Uncaught TypeError: Cannot read property 'Handlebars' of undefined

On **ehbs.js:128**. This fixes it.