5154ffd5 by ex

判断环境

1 parent 76bc44e1
......@@ -82,11 +82,15 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
// time: 10
// });
// }
var appClient = null;
var appClient = new 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
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!