                 selector: 'unhideAllApplications:' if platform == 'darwin'
             }
         ]
-    tmpl.push [
+    tmpl.push.apply tmpl, [
         { type: 'separator' }
         {
             label: 'Open Inspector'

    }

    if platform == 'darwin'
        tmpl.push [{
                label: 'Hide Others'
                accelerator: acceleratorMap['hideother'][platform]
                selector: 'hideOtherApplications:' if platform == 'darwin'

templateYakYak = (viewstate, platform) ->
    tmpl = []
    if platform == 'darwin'
        tmpl.push.apply tmpl,  [
            { label: 'About YakYak', selector: 'orderFrontStandardAboutPanel:' }
            #{ type: 'separator' }
            # { label: 'Preferences...', accelerator: 'Command+,',
