You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(defmacrolog"Print with console.log, if it exists."
[& forms]
`(when reagent.debug.has-console
(.log js/console ~@forms)))
;; to
(defmacrolog"Print with console.log, if it exists."
[& forms]
`(when mranderson048.reagent.v0v8v0.reagent.debug.has-console
(.log js/console ~@forms)))
When using mranderson 0.5.0, the namespace form isn't rewritten, it stays exactly the same as the original.
Looking at the form, it is valid ClojureScript, though it may be more idiomatic to write reagent.debug/has-console.
I've noticed improvements elsewhere, "Expected a reagent component, not "
used to be rewritten to "Expected a mranderson048.reagent.v0v8v0.reagent component, not ", but is now left alone. I suspect this bug may be a side-effect of the change.
The text was updated successfully, but these errors were encountered:
Make the source-deps script more robust.
- Delete all META-INF directories
- Delete any remaining empty directories
- Create a gen-src directory for all generated source so we can rm it
independently of the src
Set a day8.re-frame-10x.inlined-deps prefix for all inlined
dependencies. This makes it clearer where the dependencies are coming
from in debugging situations.
While upgrading I had to manually rewrite reagent debug macros until
benedekfazekas/mranderson#28 is fixed.
Fixes#235
Previously, mranderson rewrote https://github.com/reagent-project/reagent/blob/master/src/reagent/debug.clj#L7 from
When using mranderson 0.5.0, the namespace form isn't rewritten, it stays exactly the same as the original.
Looking at the form, it is valid ClojureScript, though it may be more idiomatic to write
reagent.debug/has-console
.I've noticed improvements elsewhere, "Expected a reagent component, not "
used to be rewritten to "Expected a mranderson048.reagent.v0v8v0.reagent component, not ", but is now left alone. I suspect this bug may be a side-effect of the change.
The text was updated successfully, but these errors were encountered: