Skip to content

Instantly share code, notes, and snippets.

@hparra
Created September 29, 2014 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hparra/c481d8a0592799e2a986 to your computer and use it in GitHub Desktop.
Save hparra/c481d8a0592799e2a986 to your computer and use it in GitHub Desktop.
ember-cli Brocfile.js app.import for ember-simple-auth <= v0.5.3
// Brocfile.js
// ember-simple-auth <= v0.5.3
app.import('bower_components/ember-simple-auth/amd/ember-simple-auth.js', {
exports: {
'ember-simple-auth/setup': ['default'],
'ember-simple-auth/authenticators/base': ['default'],
'ember-simple-auth/authorizers/base': ['default'],
'ember-simple-auth/mixins/application_route_mixin': ['default'],
'ember-simple-auth/mixins/authenticated_route_mixin': ['default'],
'ember-simple-auth/mixins/unauthenticated_route_mixin': ['default'],
'ember-simple-auth/mixins/authentication_controller_mixin': ['default'],
'ember-simple-auth/mixins/login_controller_mixin': ['default'],
'ember-simple-auth/stores/base': ['default'],
'ember-simple-auth/stores/ephemeral': ['default'],
'ember-simple-auth/stores/local_storage': ['default'],
'ember-simple-auth/session': ['default'],
'ember-simple-auth/configuration': ['default'],
'ember-simple-auth/initializer': ['default']
}
});
// ember-simple-auth-oauth <= v0.5.3
app.import('bower_components/ember-simple-auth/amd/ember-simple-auth-oauth2.js', {
exports: {
'ember-simple-auth-oauth2': ['default'],
'ember-simple-auth-oauth2/authorizers/oauth2': ['default']
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment