Skip to content

Commit

Permalink
Use bluebird promises as workaround
Browse files Browse the repository at this point in the history
This works around the problem of commit 5349520,
i.e. this behaves as expected.
  • Loading branch information
srguiwiz committed May 22, 2015
1 parent 5349520 commit 89393a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/models/thing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//
loopback = require('loopback');
var Promise = require('bluebird');

module.exports = function(Thing) {

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "jshint ."
},
"dependencies": {
"bluebird": "^2.9.25",
"compression": "^1.0.3",
"cors": "^2.5.2",
"errorhandler": "^1.1.1",
Expand Down

0 comments on commit 89393a6

Please sign in to comment.