fix eslint

v1.18.x
barisusakli 8 years ago
parent 5d4903f643
commit 51b41a9b44

@ -100,7 +100,7 @@ var middleware;
});
},
async.apply(Plugins.getPluginPaths),
function(paths, next) {
function (paths, next) {
async.eachSeries(paths, Plugins.loadPlugin, next);
},
function (next) {

@ -41,14 +41,13 @@ module.exports = function (Plugins) {
Plugins.prepareForBuild = function (callback) {
async.waterfall([
async.apply(Plugins.getPluginPaths),
function(paths, next) {
async.map(paths, function(path, next) {
function (paths, next) {
async.map(paths, function (path, next) {
Plugins.loadPluginInfo(path, next);
}, next);
},
function(plugins, next) {
async.each(plugins, function(pluginData, next) {
var idx = plugins.indexOf(pluginData);
function (plugins, next) {
async.each(plugins, function (pluginData, next) {
async.parallel([
async.apply(mapFiles, pluginData, 'css', 'cssFiles'),
async.apply(mapFiles, pluginData, 'less', 'lessFiles'),

Loading…
Cancel
Save