bump RN and re-frame version

- RN 0.32.0
- re-frame 0.8.0
This commit is contained in:
Artur Girenko 2016-08-28 13:28:05 +02:00
parent a000e19cf6
commit ebceff1db8
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@
"commander": "^2.8.1",
"fs-extra": "^0.26.5",
"semver": "^5.0.1",
"check-dependencies":"^0.11.0"
"check-dependencies":"^1.0.1"
},
"engines": {
"node": ">=4.0.0"

View File

@ -30,7 +30,7 @@ ipAddressRx = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/i
figwheelUrlRx = /ws:\/\/[0-9a-zA-Z\.]*:/g
appDelegateRx = /http:\/\/[^:]+/g
debugHostRx = /host\s+=\s+@".*";/g
rnVersion = '0.31.0'
rnVersion = '0.32.0'
rnPackagerPort = 8081
process.title = 're-natal'
interfaceConf =
@ -54,7 +54,7 @@ interfaceConf =
common: ["events.cljs", "subs.cljs", "db.cljs"]
other: [["reagent_dom.cljs","reagent/dom.cljs"], ["reagent_dom_server.cljs","reagent/dom/server.cljs"]]
deps: ['[reagent "0.6.0-rc" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]'
'[re-frame "0.8.0-alpha9"]']
'[re-frame "0.8.0"]']
shims: ["cljsjs.react", "cljsjs.react.dom", "cljsjs.react.dom.server"]
sampleCommandNs: '(in-ns \'$PROJECT_NAME_HYPHENATED$.ios.core)'
sampleCommand: '(dispatch [:set-greeting "Hello Native World!"])'

View File

@ -1,6 +1,6 @@
(ns $PROJECT_NAME_HYPHENATED$.events
(:require
[re-frame.core :refer [reg-event after]]
[re-frame.core :refer [reg-event-db after]]
[clojure.spec :as s]
[$PROJECT_NAME_HYPHENATED$.db :as db :refer [app-db]]))
@ -22,13 +22,13 @@
;; -- Handlers --------------------------------------------------------------
(reg-event
(reg-event-db
:initialize-db
validate-spec-mw
(fn [_ _]
app-db))
(reg-event
(reg-event-db
:set-greeting
validate-spec-mw
(fn [db [_ value]]