forked from 0x2620/oxjs
use [].concat, not Ox.merge
This commit is contained in:
parent
36d0162b8b
commit
1c40fb007b
27 changed files with 87 additions and 90 deletions
|
|
@ -85,7 +85,7 @@ Ox.DocPanel = function(options, self) {
|
|||
length = self.options.files.length;
|
||||
self.options.files.forEach(function(file) {
|
||||
Ox.doc(self.options.path + file, function(fileItems) {
|
||||
docItems = Ox.merge(docItems, fileItems);
|
||||
docItems = docItems.concat(fileItems);
|
||||
++counter == length && callback(docItems);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue