Created
January 8, 2015 13:29
-
-
Save simonjefford/3d9c7d63e3f13129fcae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
'use strict'; | |
var path = require('path'); | |
module.exports = { | |
name: 'ember-cli-pretender', | |
included: function included(app) { | |
this.app = app; | |
if (app.env !== 'production') { | |
app.import(app.bowerDirectory + '/FakeXMLHttpRequest/fake_xml_http_request.js'); | |
app.import(app.bowerDirectory + '/route-recognizer/dist/route-recognizer.js'); | |
app.import(app.bowerDirectory + '/pretender/pretender.js'); | |
app.import('vendor/ember-cli-pretender/shim.js', { | |
type: 'vendor', | |
exports: { 'pretender': ['default'] } | |
}); | |
} | |
}, | |
blueprintsPath: function() { | |
return path.join(__dirname, 'blueprints'); | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment