mirror of
https://github.com/slap-editor/slap.git
synced 2024-09-11 12:58:30 +03:00
Merge pull request #271 from didibus/master
Fixing ReferenceError with Promise when running slap on Node 0.10
This commit is contained in:
commit
5992c790aa
@ -59,7 +59,7 @@ if (opts.perf.profile && process.execArgv.indexOf('--prof') === -1) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var Promise = require('bluebird');
|
global.Promise = require('bluebird');
|
||||||
var fs = Promise.promisifyAll(require('fs'));
|
var fs = Promise.promisifyAll(require('fs'));
|
||||||
|
|
||||||
var blessed = require('base-widget').blessed;
|
var blessed = require('base-widget').blessed;
|
||||||
|
Loading…
Reference in New Issue
Block a user