h5 2
Showing
1 changed file
with
4 additions
and
8 deletions
| ... | @@ -77,10 +77,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) { | ... | @@ -77,10 +77,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) { |
| 77 | // content: window.android, | 77 | // content: window.android, |
| 78 | // time: 2 | 78 | // time: 2 |
| 79 | // }) | 79 | // }) |
| 80 | // layer.open({ | 80 | layer.open({ |
| 81 | // content: 'hah' , | 81 | content: 'hah' , |
| 82 | // time: 2 | 82 | time: 2 |
| 83 | // }) | 83 | }) |
| 84 | // bridge.registerHandler('postGPS', function(data, responseCallback) { | 84 | // bridge.registerHandler('postGPS', function(data, responseCallback) { |
| 85 | // log('ObjC called testJavascriptHandler with', data) | 85 | // log('ObjC called testJavascriptHandler with', data) |
| 86 | // var responseData = { 'Javascript Says':'Right back atcha!' } | 86 | // var responseData = { 'Javascript Says':'Right back atcha!' } |
| ... | @@ -101,10 +101,6 @@ if(isAndroid || isiOS) { | ... | @@ -101,10 +101,6 @@ if(isAndroid || isiOS) { |
| 101 | setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0) | 101 | setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0) |
| 102 | } | 102 | } |
| 103 | setupWebViewJavascriptBridge(function(bridge) { | 103 | setupWebViewJavascriptBridge(function(bridge) { |
| 104 | layer.open({ | ||
| 105 | content: bridge, | ||
| 106 | time: 2 | ||
| 107 | }) | ||
| 108 | if(isAndroid) { | 104 | if(isAndroid) { |
| 109 | 105 | ||
| 110 | } | 106 | } | ... | ... |
-
Please register or sign in to post a comment