 class WizardStore extends Store
 
 class WizardActions extends Actions
-    get: (key) =>
+    get: (key) ->
         @redux.getStore(@name).get(key)
-    set: (update) =>
+    set: (update) ->
         @setState(update)
     show: (lang='sage') =>
         @set

            lang  : @get('lang')
            title : 'title'
            descr : 'description'
    load_data: () =>
        if not DATA?
            require.ensure [], =>
                # DATA is a global variable!

                doc  = lang.getIn([cat0, cat1, idx])
                @set
                    cat2  : idx
                @show_doc(doc)

WizardHeader = rclass
    displayName : 'WizardHeader'
    propTypes:
        actions     : rtypes.object
        nav_entries : rtypes.array
        search_str  : rtypes.string
        lang        : rtypes.string.isRequired
    langSelect: (key) ->
        @props.actions.select_lang(key)
    search: (evt) ->
        evt.preventDefault()
        evt.stopPropagation()
        @props.actions.search(evt.target.value)
    render_nav : ->
        entries = @props.nav_entries
        if entries?
