aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/transport.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/transport.cljs')
-rw-r--r--src/cljs/gnunet_web/transport.cljs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cljs/gnunet_web/transport.cljs b/src/cljs/gnunet_web/transport.cljs
index d64765b..a93ec41 100644
--- a/src/cljs/gnunet_web/transport.cljs
+++ b/src/cljs/gnunet_web/transport.cljs
@@ -67,7 +67,7 @@
(unregister-object cls)))
(def get-hello-callback-pointer
- (+++ (.addFunction js/Runtime get-hello-callback)))
+ (+++ (js/addFunction get-hello-callback)))
(defn get-my-peer-id
[callback]
@@ -95,7 +95,7 @@
(gcrypt/utf8ByteArrayToString
(to-array (drop 8 address))))))})))
-(def monitor-callback-pointer (+++ (.addFunction js/Runtime monitor-callback)))
+(def monitor-callback-pointer (+++ (js/addFunction monitor-callback)))
(defn monitor-peers
[callback]