aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/filesharing.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/filesharing.cljs')
-rw-r--r--src/cljs/gnunet_web/filesharing.cljs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cljs/gnunet_web/filesharing.cljs b/src/cljs/gnunet_web/filesharing.cljs
index fb69e8f..5ea1381 100644
--- a/src/cljs/gnunet_web/filesharing.cljs
+++ b/src/cljs/gnunet_web/filesharing.cljs
@@ -71,7 +71,7 @@
(read-memory data data-size))})))
(def metadata-iterator-pointer
- (+++ (.addFunction js/Runtime metadata-iterator)))
+ (+++ (js/addFunction metadata-iterator)))
(defn parse-progress-publish
[status info-pointer]
@@ -177,7 +177,7 @@
(def fs
(js/_GNUNET_FS_start_simple
- (+++ (.addFunction js/Runtime progress-callback))))
+ (+++ (js/addFunction progress-callback))))
(defn start-search
[query anonymity]
@@ -237,7 +237,7 @@
1)))
(def publish-reader-callback-pointer
- (+++ (.addFunction js/Runtime publish-reader-callback)))
+ (+++ (js/addFunction publish-reader-callback)))
(defn new-block-options
[{:keys [expiration anonymity priority replication]}]