Fix setScheduler().

This commit is contained in:
Julien Fontanet 2015-03-04 17:37:12 +01:00
parent 292c929117
commit 7c89d658f7
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,7 @@
'use strict';
// Expose Bluebird for now to ease integration (e.g. with Angular.js).
exports.setScheduler = require('bluebird').setScheduler;
exports.Api = require('./api');
exports.Xo = require('./xo');

View File

@ -12,11 +12,6 @@ var createCollection = require('./collection');
//====================================================================
// Expose Bluebird for now to ease integration (e.g. with Angular.js).
exports.setScheduler = Bluebird.setScheduler;
//====================================================================
function makeStandaloneDeferred() {
var resolve, reject;