mirror of
https://github.com/knex/knex.git
synced 2025-07-07 00:51:30 +00:00
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
'use strict';
|
|
|
|
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;
|