Removed useless natal-shell dependency

This commit is contained in:
Julien Eluard 2017-07-23 23:58:04 +02:00 committed by Roman Volosovskyi
parent 0a76262953
commit 98b58c9036
2 changed files with 3 additions and 4 deletions

View File

@ -5,9 +5,9 @@
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-alpha13"]
[org.clojure/clojurescript "1.9.671"]
[org.clojure/core.async "0.3.443"]
[reagent "0.6.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
[re-frame "0.9.4"]
[natal-shell "0.3.0"]
[com.andrewmcveigh/cljs-time "0.5.0"]
[tailrecursion/cljs-priority-map "1.2.0"]
[com.taoensso/timbre "4.7.4"]

View File

@ -1,11 +1,10 @@
(ns status-im.utils.listview
(:require-macros [natal-shell.data-source :refer [data-source]]))
(ns status-im.utils.listview)
(defn clone-with-rows [ds rows]
(.cloneWithRows ds (reduce (fn [ac el] (.push ac el) ac)
(clj->js []) rows)))
(defmacro data-source [config]
(defn data-source [config]
(js/ReactNative.ListView.DataSource. (clj->js config)))
(defn to-datasource [items]