use [].concat, not Ox.merge

This commit is contained in:
rolux 2012-05-24 10:22:56 +02:00
commit ee160efa3d
24 changed files with 85 additions and 90 deletions

View file

@ -37,7 +37,7 @@ pandora.ui.homePage = function() {
// fixme: duplicated
$select = Ox.Select({
id: 'select',
items: Ox.merge(pandora.site.findKeys.map(function(key) {
items: [].concat(pandora.site.findKeys.map(function(key) {
return {
id: key.id,
title: 'Find: ' + key.title