                :id "output-area"
                :dangerouslySetInnerHTML #js {:__html (marked input)}})))))
 
-;; The main app
+;; State transformations
 
 (defn update-many!
-  "Sequentially updates multiple keys on Om cursor to the given value."
+  "Updates multiple keys on Om cursor to the given value."
   [app ks v]
   (doseq [k ks]
     (om/update! app k v)))


(enable-console-print!)

(extend-type string
  ICloneable
  (-clone [s] (js/String. s)))

                  (dom/span #js {:className "delete-button"
                                 :onClick (fn [e] (delete-click % app))} "x")
                  (dom/span #js {:className "left-menu-title"
                                 :onClick (fn [e] (change-current e app))}
                    (om/value %)))
               (:titles app)))))))

;; Editor

