-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from tikotzky/update-ember-cli-addon
Refactor to use projects bower dependencies
- Loading branch information
Showing
5 changed files
with
41 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
normalizeEntityName: function() { | ||
// this prevents an error when the entityName is | ||
// not specified (since that doesn't actually matter | ||
// to us | ||
}, | ||
|
||
afterInstall: function() { | ||
return this.addBowerPackageToProject('emberfire', '~1.1.3'); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'use strict'; | ||
|
||
var path = require('path'); | ||
|
||
module.exports = { | ||
name: 'EmberFire', | ||
|
||
blueprintsPath: function() { | ||
return path.join(__dirname, 'blueprints'); | ||
}, | ||
|
||
included: function included(app) { | ||
this._super.included(app); | ||
|
||
this.app.import({ | ||
development: app.bowerDirectory + '/firebase/firebase.js', | ||
production: app.bowerDirectory + '/firebase/firebase-debug.js' | ||
}); | ||
|
||
this.app.import({ | ||
development: app.bowerDirectory + '/emberfire/dist/emberfire.js', | ||
production: app.bowerDirectory + '/emberfire/dist/emberfire.min.js' | ||
}); | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters