Skip to content

Commit 107eb74

Browse files
committed
* typos
1 parent 53a57b6 commit 107eb74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@
966966
(defn hash-double [f]
967967
(let [arr (doto (js/Float64Array. 1) (aset 0 f))
968968
buf (.-buffer arr)
969-
low (.getInt32 (js/DataView. buf 0 4))
970-
high (.getInt32 (js/DataView. buf 4 4))]
969+
high (.getInt32 (js/DataView. buf 0 4))
970+
low (.getInt32 (js/DataView. buf 4 4))]
971971
(hash-long high low)))
972972

973973
(defn ^number m3-hash-unencoded-chars [in]
@@ -1031,7 +1031,7 @@
10311031

10321032
(number? o)
10331033
(if ^boolean (js/isFinite o)
1034-
(if-not (.isInteger js/Number o)
1034+
(if-not ^boolean (.isInteger js/Number o)
10351035
(hash-double o)
10361036
(js-mod (Math/floor o) 2147483647))
10371037
(case o

0 commit comments

Comments
 (0)