Remove deprecation warning on `reg-event`. It was only there for intermediate alpha releases.
This commit is contained in:
parent
0ec80051c6
commit
c50ba86cd4
|
@ -153,11 +153,6 @@
|
||||||
(console :warn "re-frame: \"register-handler\" has been renamed \"reg-event-db\" (look for registration of " (str (first args)) ")")
|
(console :warn "re-frame: \"register-handler\" has been renamed \"reg-event-db\" (look for registration of " (str (first args)) ")")
|
||||||
(apply reg-event-db args))
|
(apply reg-event-db args))
|
||||||
|
|
||||||
(defn reg-event
|
|
||||||
[& args]
|
|
||||||
(console :warn "re-frame: \"reg-event\" has been renamed \"reg-event-db\" (look for registration of " (str (first args)) ")")
|
|
||||||
(apply reg-event-db args))
|
|
||||||
|
|
||||||
(defn register-sub
|
(defn register-sub
|
||||||
[& args]
|
[& args]
|
||||||
(console :warn "re-frame: \"register-sub\" is deprecated. Use \"reg-sub-raw\" (look for registration of " (str (first args)) ")")
|
(console :warn "re-frame: \"register-sub\" is deprecated. Use \"reg-sub-raw\" (look for registration of " (str (first args)) ")")
|
||||||
|
|
Loading…
Reference in New Issue