emberjs/ember.js — pull request #3555 by sebastianseilund (2013-10-09 02:01:03+00:00)
Title: Added support for jQuery as a `require` module

Currently Ember can only be used if `jQuery` is available on the `window` object. With AMD, ES6 module transpiled modules etc. it won't necessarily be there.

I changed it to use the same logic as https://github.com/emberjs/ember.js/blob/master/packages/ember-handlebars-compiler/lib/main.js#L13-L16