 (ns devtools.core
   (:require [devtools.debug :as debug]))
 
-(def max-seq-elements 10)
+(def max-coll-elements 10)
 (def max-map-elements 5)
 (def max-set-elements 7)
-(def abbreviation-string "…")
+(def abbreviation "…")
 (def line-index-separator ":")
 (def formatter-key "devtoolsFormatter")
+(def dq "\"")
 
 (def ^:dynamic *devtools-enabled* true)
 (def ^:dynamic *devtools-installed* false)

(defn template [tag style & more]
  (let [arr #js [tag (if (empty? style) #js {} #js {"style" style})]]
    (doseq [o more]
      (.push arr o))
    arr))

(defn reference [object & more]

(defn something-abbreviated? [value]
  (if (coll? value)
    (some #(something-abbreviated? %) value)
    (= abbreviation value)))

(defn abbreviated? [template]
  (something-abbreviated? (js->clj template)))
