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
9399a019
authored
2018-08-25 18:07:44 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
初始化
1 parent
5196708a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
index.html
js/JSBridge.js
index.html
View file @
9399a01
...
...
@@ -5,9 +5,7 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
<title>
东城行
</title>
<script>
alert
(
1
)
</script>
<!--<script src="js/mui/mui.min.js"></script>-->
<!--<link href="css/mui.min.css" rel="stylesheet"/>
<link href="css/app.css" rel="stylesheet"/>
...
...
js/JSBridge.js
View file @
9399a01
...
...
@@ -72,7 +72,10 @@ if(window.android) {
appClient
=
new
AppClient
(
window
.
android
,
true
);
// 此处可以调用一些init的方法
}
else
{
layer
.
open
({
content
:
'初始化'
,
time
:
2
})
function
setupWebViewJavascriptBridge
(
callback
)
{
if
(
window
.
WebViewJavascriptBridge
)
{
return
callback
(
WebViewJavascriptBridge
);
}
if
(
window
.
WVJBCallbacks
)
{
return
window
.
WVJBCallbacks
.
push
(
callback
);
}
...
...
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