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
|
|
@ -302,11 +302,11 @@ Ox.VideoPanel = function(options, self) {
|
|||
}
|
||||
|
||||
function getAnnotations() {
|
||||
return Ox.flatten(Ox.merge(self.options.layers.map(function(layer) {
|
||||
return Ox.flatten(self.options.layers.map(function(layer) {
|
||||
return layer.items.map(function(item) {
|
||||
return {id: item.id, 'in': item['in'], out: item.out, text: item.value};
|
||||
});
|
||||
}))).sort(sortAnnotations);
|
||||
})).sort(sortAnnotations);
|
||||
}
|
||||
|
||||
function getPlayerHeight() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue