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
5154ffd5
authored
2018-08-30 00:10:50 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
判断环境
1 parent
76bc44e1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
.idea/workspace.xml
js/JSBridge.js
temp/wechat
.idea/workspace.xml
View file @
5154ffd
This diff is collapsed.
Click to expand it.
js/JSBridge.js
View file @
5154ffd
...
...
@@ -82,11 +82,15 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
// time: 10
// });
// }
var
appClient
=
n
ull
;
var
appClient
=
n
ew
AppClient
(
window
.
android
,
true
)
;
layer
.
open
({
content
:
window
.
android
,
time
:
2
})
layer
.
open
({
content
:
JSON
.
stringify
(
window
)
,
time
:
2
})
if
(
window
.
android
)
{
appClient
=
new
AppClient
(
window
.
android
,
true
);
// 此处可以调用一些init的方法
...
...
@@ -106,5 +110,3 @@ if(window.android) {
// 此处可以调用一些init的方法
});
}
...
...
wechat
@
efa7b46b
Subproject commit efa7b46b5ba06587588536145356c18345036f63
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