mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
Upgrade cljs + shadow
- Upgraded shadow to keep goog compiler versions the same - Converted some safe-parse-int's to parse-long - Converted some safe-parse-float's to parse-double - Simplified impl of safe-parse-* fns
This commit is contained in:
committed by
Tienson Qin
parent
29eb3dbca9
commit
fec0b755a8
@@ -67,7 +67,7 @@
|
||||
(date/journal-title->int input)))
|
||||
|
||||
:else
|
||||
(let [duration (util/parse-int (subs input 0 (dec (count input))))
|
||||
(let [duration (parse-long (subs input 0 (dec (count input))))
|
||||
kind (last input)
|
||||
tf (case kind
|
||||
"y" t/years
|
||||
@@ -99,7 +99,7 @@
|
||||
(date/journal-title->long input)))
|
||||
|
||||
:else
|
||||
(let [duration (util/parse-int (subs input 0 (dec (count input))))
|
||||
(let [duration (parse-long (subs input 0 (dec (count input))))
|
||||
kind (last input)
|
||||
tf (case kind
|
||||
"y" t/years
|
||||
|
||||
Reference in New Issue
Block a user