custom asyncForEach() is gone
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/* global $:false */
|
||||
/* global angular:false */
|
||||
/* global EventSource:false */
|
||||
/* global asyncForEach:false */
|
||||
/* global $ */
|
||||
/* global angular */
|
||||
/* global EventSource */
|
||||
/* global async */
|
||||
|
||||
// keep in sync with box/src/apps.js
|
||||
var ISTATES = {
|
||||
@@ -1474,7 +1474,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
}
|
||||
|
||||
var result = [];
|
||||
asyncForEach(chunks, function (chunk, iteratorCallback) {
|
||||
async.eachSeries(chunks, function (chunk, iteratorCallback) {
|
||||
var config = {
|
||||
params: {
|
||||
target: chunk,
|
||||
@@ -1801,7 +1801,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
this.getApps(function (error, apps) {
|
||||
if (error) return callback(error);
|
||||
|
||||
asyncForEach(apps, function (app, iteratorCallback) {
|
||||
async.eachSeries(apps, function (app, iteratorCallback) {
|
||||
var canManageApp = that._userInfo.isAtLeastAdmin;
|
||||
|
||||
if (!canManageApp) {
|
||||
|
||||
Reference in New Issue
Block a user