mirror of
https://github.com/knex/knex.git
synced 2025-07-19 15:01:45 +00:00
9 lines
310 B
JavaScript
9 lines
310 B
JavaScript
var Promise = require('bluebird/js/main/promise')();
|
|
|
|
Promise.prototype.yield = Promise.prototype.thenReturn;
|
|
Promise.prototype.ensure = Promise.prototype.lastly;
|
|
Promise.prototype.otherwise = Promise.prototype.caught;
|
|
Promise.prototype.exec = Promise.prototype.nodeify;
|
|
|
|
module.exports = Promise;
|