add comments about workaround for cljs bug
This commit is contained in:
parent
af029ac149
commit
1411ac495e
2 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,9 @@
|
||||||
|
|
||||||
[com.rpl.specter.util-macros :refer
|
[com.rpl.specter.util-macros :refer
|
||||||
[doseqres]]))
|
[doseqres]]))
|
||||||
|
;; workaround for cljs bug that emits warnings for vars named the same as a
|
||||||
|
;; private var in cljs.core (in this case `NONE`, added as private var to
|
||||||
|
;; cljs.core with 1.9.562)
|
||||||
#?(:cljs (:refer-clojure :exclude [NONE]))
|
#?(:cljs (:refer-clojure :exclude [NONE]))
|
||||||
|
|
||||||
(:use [com.rpl.specter.protocols :only [ImplicitNav RichNavigator]]
|
(:use [com.rpl.specter.protocols :only [ImplicitNav RichNavigator]]
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@
|
||||||
#?(:cljs (:require-macros
|
#?(:cljs (:require-macros
|
||||||
[com.rpl.specter.util-macros
|
[com.rpl.specter.util-macros
|
||||||
:refer [doseqres mk-comp-navs mk-late-fn mk-late-fn-records]]))
|
:refer [doseqres mk-comp-navs mk-late-fn mk-late-fn-records]]))
|
||||||
|
;; workaround for cljs bug that emits warnings for vars named the same as a
|
||||||
|
;; private var in cljs.core (in this case `NONE`, added as private var to
|
||||||
|
;; cljs.core with 1.9.562)
|
||||||
#?(:cljs (:refer-clojure :exclude [NONE]))
|
#?(:cljs (:refer-clojure :exclude [NONE]))
|
||||||
(:use [com.rpl.specter.protocols :only
|
(:use [com.rpl.specter.protocols :only
|
||||||
[select* transform* collect-val RichNavigator]]
|
[select* transform* collect-val RichNavigator]]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue