aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/core.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/core.cljs')
-rw-r--r--src/cljs/gnunet_web/core.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljs/gnunet_web/core.cljs b/src/cljs/gnunet_web/core.cljs
index d33bc2f..e483c81 100644
--- a/src/cljs/gnunet_web/core.cljs
+++ b/src/cljs/gnunet_web/core.cljs
@@ -39,7 +39,7 @@
(callback {:peer (vec (read-memory peer-id-pointer 32))
:state state})))
-(def monitor-callback-pointer (+++ (.addFunction js/Runtime monitor-callback)))
+(def monitor-callback-pointer (+++ (js/addFunction monitor-callback)))
(defn monitor-peers
[callback]