34de3f92 by ex

h5

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