e70e826a by ex

h5

1 parent d7627360
......@@ -162,29 +162,13 @@ angular.module('myApp')
if(isAndroid){
window.WebViewJavascriptBridge.registerHandler('postERCode', function(data, responseCallback) {
// layer.open({
// content: JSON.stringify(data),
// time: 10
// });
layer.open({
content: data,
time: 10
});
// log('ObjC called testJavascriptHandler with', data)
// var responseData = { 'Javascript Says':'Right back atcha!' }
// log('JS responding with', responseData)
// responseCallback(responseData)
})
window.WebViewJavascriptBridge.callHandler('getERCode', function(data, responseCallback) {
})
// window.WebViewJavascriptBridge.callHandler('getGPS', function (res) {
// layer.open({
// content: res,
// time: 5
// });
// }, '')
}else if(isiOS){
appClient.appObj.registerHandler('postERCode', function(data, responseCallback) {
layer.open({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!