aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
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