diff options
author | David Barksdale <amatus@amat.us> | 2018-01-29 22:12:10 -0600 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2018-01-31 18:05:00 -0600 |
commit | ca891336cc2cd09bae8b474c2eb90db8f177c05b (patch) | |
tree | 29e7acfd64a05865f36ce9ec818208ebe1b9caa5 /src/cljs/gnunet_web/transport.cljs | |
parent | 7d9e073b4dc823fffaef30240d755034261e329b (diff) |
Changes for emscripten update
Diffstat (limited to 'src/cljs/gnunet_web/transport.cljs')
-rw-r--r-- | src/cljs/gnunet_web/transport.cljs | 4 |
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] |