diff --git a/src/re_frame/core.cljc b/src/re_frame/core.cljc index 7fcf2e6..26b678b 100644 --- a/src/re_frame/core.cljc +++ b/src/re_frame/core.cljc @@ -101,14 +101,11 @@ ;; Assisting the v0.0.7 -> v0.0.8 tranistion. Remove in v0.0.9 (defn register-handler [& args] - (console :error "re-frame: \"register-handler\" has been renamed \"reg-event\"")) + (console :warn "re-frame: \"register-handler\" has been renamed \"reg-event\"") + (apply reg-event args)) (defn register-sub [& args] - (console :error "re-frame: \"register-sub\" has been renamed \"reg-sub-raw\".")) - -;; v0.0.8 alpha2 -> alpha3 -(defn def-fx [& args] (console :error "re-frame: in v0.0.8-alpha3 \"def-fx\" was renamed \"reg-fx\".")) -(defn def-event [& args] (console :error "re-frame: in v0.0.8-alpha3 \"def-event\" was renamed \"reg-event\".")) -(defn def-sub [& args] (console :error "re-frame: in v0.0.8-alpha3 \"def-sub\" was renamed \"reg-sub\".")) + (console :error "re-frame: \"register-sub\" is deprecated. Use \"reg-sub-raw\".") + (apply reg-sub-raw args))