Fork me on GitHub
#specter
<
2016-08-24
>
branch1412:08:35

Hi, I'm struggling to use specter (0.12.0) in cljs. I probably haven't set the ns up properly.

=> (select [:a :b] {:a {:b 42}})
#object[TypeError TypeError: Cannot read property 'specter' of undefined]
My ns looks like this:
(ns dummy
  (:require [com.rpl.specter :as s])
  (:require-macros [com.rpl.specter.macros :refer [select]]))

nathanmarz12:08:08

@branch14 works fine for me, don't know what's causing that

branch1412:08:46

@nathanmarz Ha, it kind of works in the browser, but it doesn't on the REPL that figwheel gives me.

branch1412:08:01

Ok, it works perfectly in the browser, but the REPL only yields the error above.