File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 409409 #? (:clj (. clojure.lang.Util (hasheq x))
410410 :cljs (hash x)))
411411
412- ( declare+ ^number value-compare [x y])
412+ #?( :cljs ( declare+ ^number value-compare [x y]) :clj ( declare value-compare ) )
413413
414414(defn- seq-compare [xs ys]
415415 (let [cx (count xs)
16191619 (filter (fn [^Datom d] (component? db (.-a d))))
16201620 (map (fn [^Datom d] [:db.fn/retractEntity (.-v d)]))) datoms))
16211621
1622- ( declare+ transact-tx-data-impl [initial-report initial-es])
1622+ #?( :cljs ( declare+ transact-tx-data-impl [initial-report initial-es]) :clj ( declare transact-tx-data-impl ) )
16231623
16241624(defn- retry-with-tempid [initial-report report es tempid upserted-eid]
16251625 (if-some [eid (get (::upserted-tempids initial-report) tempid)]
19231923 (util/raise " Bad transaction data " es " , expected sequential collection"
19241924 {:error :transact/syntax , :tx-data es}))
19251925 (let [es' (assoc-auto-tempids (:db-before report) es)]
1926- (transact-tx-data-impl report es')))
1926+ (transact-tx-data-impl report es')))
You can’t perform that action at this time.
0 commit comments