mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor(config) fillTemplate: slice -> forEach
This commit is contained in:
parent
307e7bd56c
commit
fc53638c7a
1 changed files with 1 additions and 2 deletions
|
|
@ -76,8 +76,7 @@ var CloudCmd, Util, DOM;
|
|||
if (inputFirst)
|
||||
focus = inputFirst.focus.bind(inputFirst);
|
||||
|
||||
Util.slice(inputs)
|
||||
.forEach(function(input) {
|
||||
Util.forEach(inputs, function(input) {
|
||||
Events.add('change', onChange, input);
|
||||
Events.addKey(key, input);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue