Commit 89cc875d authored by Nature's avatar Nature

vuePlatform

parent a6966c7a
......@@ -215,7 +215,7 @@
self.platforms = []
var grade = 'a'
if (self.isWebView()) {
/*if (self.isWebView()) {
self.platforms.push('webview')
if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) {
self.platforms.push('cordova')
......@@ -225,13 +225,13 @@
} else {
self.platforms.push('browser')
}
if (self.isIPad()) self.platforms.push('ipad')
if (self.isIPad()) self.platforms.push('ipad')*/
var platform = self.platform()
if (platform) {
self.platforms.push(platform)
var version = self.version()
/*var version = self.version()
if (version) {
var v = version.toString()
if (v.indexOf('.') > 0) {
......@@ -247,10 +247,10 @@
} else if (self.isWindowsPhone()) {
grade = 'b'
}
}
}*/
}
self.setGrade(grade)
// self.setGrade(grade)
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment