move arrayRemove to lang
This commit is contained in:
parent
a7963dc9a4
commit
c0540f7e1e
4 changed files with 15 additions and 16 deletions
|
|
@ -39,7 +39,7 @@ define(function(require, exports, module) {
|
|||
|
||||
|
||||
var console = require('pilot/console');
|
||||
var util = require('pilot/util');
|
||||
var lang = require('pilot/lang');
|
||||
var oop = require('pilot/oop');
|
||||
var EventEmitter = require('pilot/event_emitter').EventEmitter;
|
||||
|
||||
|
|
@ -1048,7 +1048,7 @@ oop.inherits(CliRequisition, Requisition);
|
|||
}
|
||||
}
|
||||
|
||||
util.arrayRemove(names, assignment.name);
|
||||
lang.arrayRemove(names, assignment.name);
|
||||
args.splice(i, 1);
|
||||
// We don't need to i++ if we splice
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue