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
5cb6b8c4
authored
2018-09-01 16:49:54 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
h5
1 parent
929682f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
js/JSBridge.js
js/JSBridge.js
View file @
5cb6b8c
...
...
@@ -97,14 +97,11 @@ if(isAndroid || isiOS) {
}
}
setupWebViewJavascriptBridge
(
function
(
bridge
)
{
layer
.
open
({
content
:
bridge
,
time
:
4
})
if
(
isAndroid
)
{
bridge
.
init
(
function
(
message
,
responseCallback
)
{
responseCallback
({
'Javascript Responds'
:
'Wee!'
})
appClient
=
new
AppClient
(
b
ridge
,
isAndroid
);
appClient
=
new
AppClient
(
window
.
WebViewJavascriptB
ridge
,
isAndroid
);
})
}
if
(
isiOS
)
{
...
...
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