From 6fb5ee27bc38f920977c5428e090ea62e541e95d Mon Sep 17 00:00:00 2001 From: Morten Trydal Date: Fri, 10 Mar 2017 22:52:05 +0100 Subject: [PATCH] fix(bluebird): remove unnecessary Bluebird config in main file resolves #534 --- lib/resources/src/main.js | 7 ------- lib/resources/src/main.ts | 7 ------- 2 files changed, 14 deletions(-) diff --git a/lib/resources/src/main.js b/lib/resources/src/main.js index 4fc6a2e4c..a4474012d 100644 --- a/lib/resources/src/main.js +++ b/lib/resources/src/main.js @@ -1,12 +1,5 @@ import environment from './environment'; -//Configure Bluebird Promises. -Promise.config({ - warnings: { - wForgottenReturn: false - } -}); - export function configure(aurelia) { aurelia.use .standardConfiguration() diff --git a/lib/resources/src/main.ts b/lib/resources/src/main.ts index 5802e297f..e3a450bec 100644 --- a/lib/resources/src/main.ts +++ b/lib/resources/src/main.ts @@ -1,13 +1,6 @@ import {Aurelia} from 'aurelia-framework' import environment from './environment'; -//Configure Bluebird Promises. -(Promise).config({ - warnings: { - wForgottenReturn: false - } -}); - export function configure(aurelia: Aurelia) { aurelia.use .standardConfiguration()