 
 (def ENTER_KEY 13)
 
-(def app-state (atom {:todos []}))
+(def app-state (atom {:showing :all :todos []}))
 
 ;; =============================================================================
 ;; Main and Footer Components

      (store "todos" app))
    dom/IRender
    (-render [_ owner]
      (let [active    (count (filter :completed todos))
            completed (- (count todos) active)
            comm      (dom/get-state owner :comm)]
        (dom/div nil

            (om/render main app
              {:path [:todos] :opts {:comm comm :editing (:editing app)}})
            (om/render footer app
              {:path [] :opts {:count active :completed completed :comm comm}})))))))

(om/root app-state todo-app (.getElementById js/document "todoapp"))

