5cb6b8c4 by ex

h5

1 parent 929682f6
...@@ -97,14 +97,11 @@ if(isAndroid || isiOS) { ...@@ -97,14 +97,11 @@ if(isAndroid || isiOS) {
97 } 97 }
98 } 98 }
99 setupWebViewJavascriptBridge(function(bridge) { 99 setupWebViewJavascriptBridge(function(bridge) {
100 layer.open({ 100
101 content: bridge,
102 time: 4
103 })
104 if(isAndroid) { 101 if(isAndroid) {
105 bridge.init(function (message, responseCallback) { 102 bridge.init(function (message, responseCallback) {
106 responseCallback({'Javascript Responds': 'Wee!'}) 103 responseCallback({'Javascript Responds': 'Wee!'})
107 appClient = new AppClient(bridge, isAndroid); 104 appClient = new AppClient(window.WebViewJavascriptBridge, isAndroid);
108 }) 105 })
109 } 106 }
110 if (isiOS) { 107 if (isiOS) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!