-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to cljc #14
Update to cljc #14
Conversation
@@ -84,8 +80,9 @@ | |||
|
|||
(def time | |||
"A behavior that tracks the current time in seconds." | |||
#+clj (behavior (/ (System/nanoTime) 1000000000.0)) | |||
#+cljs (behavior (/ (.getTime (js/Date.)) 1000.0))) | |||
#?( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the blank line here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
0ef68b7
to
860b3ec
Compare
Note: I found out that all the cljc compatible versions of clojurescript are incompatible with java 6. Is this a problem? I checked back as far as clojurescript 0.0-3196 (the version that introduced reader conditionals), and that version already had the lookahead regex that trips up the regex engine in java 6. |
4c3f68a
to
268e66b
Compare
The core.async page seems to imply that 1.6.0 is the minimum clojure version required, so I'm upgrading just to be on the safe side, although the tests do pass with clojure 1.5.1. Surprisingly, no upgrade to clojurescript seems to be necessary.
This forces upgrades to lein-cljsbuild and austin Also, with the update to lein-cljsbuild, :whitespace doesn't seem to be the default optimization anymore so I set it manually.
This forces to upgrade to a newer version of codox
This builds upon pull-request #12
The goal is to switch from the obsolete cljx to the newer cljc.
In order to do this, I had to upgrade Clojure and ClojureScript.
In turn, in order to upgrade ClojureScript, I had to upgrade lein-cljsbjuild and austin.
Finally, I updated codox to a version that is able to handle cljc.