Clarify comment
This commit is contained in:
parent
9e710d175d
commit
66d887c55b
|
@ -26,9 +26,9 @@
|
||||||
|
|
||||||
([kind id required?]
|
([kind id required?]
|
||||||
(let [handler (get-handler kind id)]
|
(let [handler (get-handler kind id)]
|
||||||
(when debug-enabled? ;; This is in a separate when so Closure DCE can run
|
(when debug-enabled? ;; This is in a separate when so Closure DCE can run ...
|
||||||
(when (and required? (nil? handler)) ;; Otherwise you'd need to type hint the and with a ^boolean for DCE.
|
(when (and required? (nil? handler)) ;; ...otherwise you'd need to type hint the `and` with a ^boolean for DCE.
|
||||||
(console :error "re-frame: no " (str kind) " handler registered for:" id)))
|
(console :error "re-frame: no " (str kind) " handler registered for: " id)))
|
||||||
handler)))
|
handler)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue