aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-05 23:40:14 -0700
committerAllan Wang <me@allanwang.ca>2017-06-05 23:40:14 -0700
commit39a09a3ec1b62fe2c82bf1ad067515b1f974472b (patch)
treec4c6019ccf54d662ea861191918087f09c4154dd /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
parent768e75c535623504f972603a89d1ac7d20cd48a0 (diff)
downloadfrost-39a09a3ec1b62fe2c82bf1ad067515b1f974472b.tar.gz
frost-39a09a3ec1b62fe2c82bf1ad067515b1f974472b.tar.bz2
frost-39a09a3ec1b62fe2c82bf1ad067515b1f974472b.zip
Remove eventbus bindings
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
index 8be4e278..a3233c4c 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
@@ -1,13 +1,13 @@
package com.pitchedapps.frost.web
import android.webkit.JavascriptInterface
-import com.pitchedapps.frost.events.WebLaunchEvent
-import org.greenrobot.eventbus.EventBus
/**
* Created by Allan Wang on 2017-06-01.
*/
class FrostJSI {
@JavascriptInterface
- fun loadUrl(url: String) = EventBus.getDefault().post(WebLaunchEvent(url))
+ fun loadUrl(url: String){
+
+ }
} \ No newline at end of file