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
b33eccea
authored
2018-08-25 18:47:10 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
00
1 parent
8b1c99c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
js/JSBridge.js
js/JSBridge.js
View file @
b33ecce
...
...
@@ -73,10 +73,18 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
this
.
appObj
.
registerHandler
(
'postGPS'
,
function
(
data
,
responseCallback
)
{
var
res
=
JSON
.
parse
(
data
)
var
key
=
res
.
testKey
layer
.
open
({
content
:
data
,
time
:
2
});
layer
.
open
({
content
:
JSON
.
stringify
(
key
),
time
:
10
time
:
2
});
var
key
=
res
[
'testKey'
]
layer
.
open
({
content
:
JSON
.
stringify
(
key
),
time
:
2
});
// log('ObjC called testJavascriptHandler with', data)
// var responseData = { 'Javascript Says':'Right back atcha!' }
...
...
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