Skip to content

Commit

Permalink
Update es6-promise to v4.0.5 (#112)
Browse files Browse the repository at this point in the history
- Bump dependency for es6-promise to 4.0.5
- Change the location and name of where to find the file.
  • Loading branch information
andrewmp1 authored and pixelhandler committed Oct 6, 2016
1 parent faa5519 commit d5aaf15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blueprints/ember-jsonapi-resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
return Promise.all([
this.addBowerPackagesToProject([
{ name: 'fetch' },
{ name: 'es6-promise', target: '~3.0.2' }
{ name: 'es6-promise', target: '^4.0.5' }
]),
this.addPackagesToProject([
{ name: 'inflection', target: '~1.7.1' },
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ember": "~2.8.1",
"ember-cli-shims": "0.1.1",
"fetch": "~0.10.1",
"es6-promise": "~3.0.2"
"es6-promise": "^4.0.5"
},
"devDependencies": {
"sinon": "http://sinonjs.org/releases/sinon-1.15.0.js",
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = {
// addon passed as an app doesn't define app.import
if (typeof app.import === 'function') {
app.import({
development: app.bowerDirectory + '/es6-promise/promise.js',
production: app.bowerDirectory + '/es6-promise/promise.min.js'
development: app.bowerDirectory + '/es6-promise/es6-promise.js',
production: app.bowerDirectory + '/es6-promise/es6-promise.min.js'
});

app.import(app.bowerDirectory + '/fetch/fetch.js');
Expand Down

0 comments on commit d5aaf15

Please sign in to comment.