Skip to content

Commit

Permalink
Merge pull request #172 from drapanjanas/fix-rum-template
Browse files Browse the repository at this point in the history
Fix Rum template
  • Loading branch information
drapanjanas authored Mar 4, 2018
2 parents 4630407 + a27b0d2 commit 0cb2349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion re-natal.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ interfaceConf =
sources:
common: []
other: [["sablono_compiler.clj","sablono/compiler.clj"],["support.cljs","re_natal/support.cljs"]]
deps: ['[rum "0.10.8" :exclusions [cljsjs/react cljsjs/react-dom sablono]]']
deps: ['[rum "0.11.2" :exclusions [cljsjs/react cljsjs/react-dom sablono]]']
shims: ["cljsjs.react", "cljsjs.react.dom", "sablono.core"]
sampleCommandNs: '(in-ns \'$PROJECT_NAME_HYPHENATED$.ios.core)'
sampleCommand: '(swap! app-state assoc :greeting "Hello Clojure in iOS and Android with Rum!")'
Expand Down
2 changes: 1 addition & 1 deletion resources/cljs-rum/support.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Helpers and adapters to be able to mount/remount Rum components in a React Native application.")

(def React (js/require "react"))
(def create-class (.-createClass React))
(def create-class (js/require "create-react-class"))
(def create-factory (.-createFactory React))

(defonce root-component (atom nil))
Expand Down

0 comments on commit 0cb2349

Please sign in to comment.