Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e70e826a
authored
2018-09-01 16:24:27 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
h5
1 parent
d7627360
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
js/controller/mainController.js
js/controller/mainController.js
View file @
e70e826
...
...
@@ -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
({
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment