diff --git a/config/jsdoc/info/publish.js b/config/jsdoc/info/publish.js index f429b678c8..76c68e2574 100644 --- a/config/jsdoc/info/publish.js +++ b/config/jsdoc/info/publish.js @@ -6,8 +6,6 @@ var assert = require('assert'); var fs = require('fs'); var path = require('path'); -var Promise = require('bluebird'); - /** * Publish hook for the JSDoc template. Writes to JSON stdout. @@ -171,17 +169,13 @@ exports.publish = function(data, opts) { return (symbol.name in augments || symbol.virtual); }); - return new Promise(function(resolve, reject) { - - process.stdout.write( - JSON.stringify({ - symbols: symbols, - defines: defines, - typedefs: typedefs, - externs: externs, - base: base - }, null, 2), resolve); - - }); + process.stdout.write( + JSON.stringify({ + symbols: symbols, + defines: defines, + typedefs: typedefs, + externs: externs, + base: base + }, null, 2)); }; diff --git a/package.json b/package.json index 594ebbc3a6..46f046e7cc 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ ], "dependencies": { "async": "1.5.0", - "bluebird": "^3.0.5", "browserify": "12.0.1", "closure-util": "1.9.0", "derequire": "2.0.3",