diff --git a/project.clj b/project.clj index 76b35d9..1729ead 100644 --- a/project.clj +++ b/project.clj @@ -5,13 +5,12 @@ :license {:name "MIT License" :url "http://opensource.org/licenses/MIT"} - :dependencies [[org.clojure/tools.logging "0.3.1"] - [prismatic/plumbing "0.5.3"]] + :dependencies [[org.clojure/tools.logging "1.2.4"]] :profiles {:provided - {:dependencies [[org.clojure/clojure "1.8.0"]]} + {:dependencies [[org.clojure/clojure "1.10.3"]]} :test - {:dependencies [[pjstadig/humane-test-output "0.8.0"]] + {:dependencies [[pjstadig/humane-test-output "0.11.0"]] :injections [(require 'pjstadig.humane-test-output) (pjstadig.humane-test-output/activate!)]}}) diff --git a/src/views/core.clj b/src/views/core.clj index bd9a583..11b5581 100644 --- a/src/views/core.clj +++ b/src/views/core.clj @@ -4,7 +4,6 @@ (clojure.lang Atom)) (:require [views.protocols :refer [IView id data relevant?]] - [plumbing.core :refer [swap-pair!]] [clojure.tools.logging :refer [info debug error trace]])) ;; The view-system data structure has this shape: @@ -222,7 +221,7 @@ (defn- pop-hints! [^Atom view-system] - (let [p (swap-pair! view-system assoc :hints #{})] + (let [p (swap-vals! view-system assoc :hints #{})] (or (:hints (first p)) #{}))) (defn refresh-views!