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
b2f12ccd
authored
2018-09-01 17:09:13 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
h5
1 parent
c22c9704
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
js/JSBridge.js
js/JSBridge.js
View file @
b2f12cc
...
...
@@ -3,10 +3,10 @@ var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终
var
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
var
appClient
=
null
;
function
AppClient
(
appObj
,
isAndroid
)
{
layer
.
open
({
content
:
JSON
.
stringify
(
appObj
),
time
:
2
})
//
layer.open({
//
content: JSON.stringify(appObj),
//
time: 2
//
})
this
.
appObj
=
appObj
;
this
.
isAndroid
=
isAndroid
;
};
...
...
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