Skip to content

Commit ea97885

Browse files
author
Bruce Hauman
committed
continuing to fix reliance on js/React
1 parent f5c51ad commit ea97885

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[cljsjs/react "16.4.1-0"]
1111
[cljsjs/react-dom "16.4.1-0"]
1212
[cljsjs/create-react-class "15.6.3-1"]
13-
[sablono "0.8.4"]]
13+
[sablono "0.8.6"]]
1414

1515
:source-paths ["src"]
1616

src/devcards/util/utils.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
constructor-fn (if constructor-fn
1919
`(fn [props#]
2020
(cljs.core/this-as this#
21-
(.call js/devcards.util.utils.react_holder.Component this# props#)
21+
(.call devcards.util.utils/react-holder.Component this# props#)
2222
(.call ~constructor-fn this# props#)
2323
this#))
2424
`(fn [props#]
2525
(cljs.core/this-as this#
26-
(.call js/devcards.util.utils.react_holder.Component this# props#)
26+
(.call devcards.util.utils/react-holder.Component this# props#)
2727
this#)))
2828
body (->> body
2929
(remove #(= 'constructor (first %))))]
3030
`(let [ctor# ~constructor-fn]
31-
(goog.inherits ctor# js/devcards.util.utils.react_holder.Component)
31+
(goog.inherits ctor# devcards.util.utils/react-holder.Component)
3232
(cljs.core/specify! (.-prototype ctor#)
3333
~'Object
3434
~@body)

0 commit comments

Comments
 (0)