Skip to content

Commit

Permalink
Merge pull request innoq#178 from innoq/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
mvitz committed Nov 23, 2015
2 parents cb794c2 + ffe1d2d commit 5c0a079
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
:url "http://www.apache.org/licenses/LICENSE-2.0"
:distribution :repo
:comments "A business-friendly OSS license"}
:dependencies [[org.clojure/clojure "1.6.0"]
[ring "1.3.2"]
[compojure "1.3.3"]
[clj-time "0.9.0"]
:dependencies [[org.clojure/clojure "1.7.0"]
[ring "1.4.0"]
[compojure "1.4.0"]
[clj-time "0.11.0"]
[org.clojure/data.json "0.2.6"]
[org.clojure/tools.cli "0.3.3"]]
:pedantic? :abort
:plugins [[jonase/eastwood "0.2.0"]]
:plugins [[jonase/eastwood "0.2.2"]]
:profiles {:dev {:dependencies [[ring-mock "0.1.5"]]}
:uberjar {:aot [statuses.server]}}
:main statuses.server
Expand Down
6 changes: 3 additions & 3 deletions src/statuses/views/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
[:div {"style" "clear: both"}])))


(defn update [is-current {:keys [id text author time in-reply-to conversation can-delete?]}]
(defn update-item [is-current {:keys [id text author time in-reply-to conversation can-delete?]}]
(list
[:div.avatar
(link-to (profile-path author) [:img {:src (avatar-path author) :alt author}])]
Expand All @@ -63,8 +63,8 @@
(when-not current-item-id (entry-form))
[:ul.updates (map (fn [item]
(if (= current-item-id (:id item))
[:li.post.current (update true item)]
[:li.post (update false item)]))
[:li.post.current (update-item true item)]
[:li.post (update-item false item)]))
items)])
(when next (link-to {:rel "next"} next "Next"))))

0 comments on commit 5c0a079

Please sign in to comment.