5b18ca8d by ex

h5 2

1 parent 3588aad5
......@@ -77,10 +77,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
// content: window.android,
// time: 2
// })
// layer.open({
// content: 'hah' ,
// time: 2
// })
layer.open({
content: 'hah' ,
time: 2
})
// bridge.registerHandler('postGPS', function(data, responseCallback) {
// log('ObjC called testJavascriptHandler with', data)
// var responseData = { 'Javascript Says':'Right back atcha!' }
......@@ -101,10 +101,6 @@ if(isAndroid || isiOS) {
setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0)
}
setupWebViewJavascriptBridge(function(bridge) {
layer.open({
content: bridge,
time: 2
})
if(isAndroid) {
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!