Skip to content

Commit

Permalink
Merge pull request #536 from trydis/bluebird-config
Browse files Browse the repository at this point in the history
fix(bluebird): remove unnecessary Bluebird config in main file
  • Loading branch information
EisenbergEffect committed Mar 21, 2017
2 parents 71be186 + 6fb5ee2 commit b998e3f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions lib/resources/src/main.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import environment from './environment';

//Configure Bluebird Promises.
Promise.config({
warnings: {
wForgottenReturn: false
}
});

export function configure(aurelia) {
aurelia.use
.standardConfiguration()
Expand Down
7 changes: 0 additions & 7 deletions lib/resources/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import {Aurelia} from 'aurelia-framework'
import environment from './environment';

//Configure Bluebird Promises.
(<any>Promise).config({
warnings: {
wForgottenReturn: false
}
});

export function configure(aurelia: Aurelia) {
aurelia.use
.standardConfiguration()
Expand Down

0 comments on commit b998e3f

Please sign in to comment.