 (ns drawer.util
-  (:require [tailrecursion.cljson :refer [clj->cljson cljson->clj]]))
+  (:require [goog.string :as gstring]
+            [tailrecursion.cljson :refer [clj->cljson cljson->clj]]))
 
 (defn update-values
   "Updates the values of given map using

  (if-let [item (.getItem js/localStorage k)]
    (cljson->clj item)
    default))

  "Logs given text to the console."
  [x]
  (.log js/console x))

(defn format
  "Formats a string using goog.string.format."
  [fmt & args]
  (apply gstring/format fmt args))

(def alert-map (atom {}))
(defn alert-once [id val]
