Commit 89cc875d authored by Nature's avatar Nature

vuePlatform

parent a6966c7a
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
self.platforms = [] self.platforms = []
var grade = 'a' var grade = 'a'
if (self.isWebView()) { /*if (self.isWebView()) {
self.platforms.push('webview') self.platforms.push('webview')
if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) { if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) {
self.platforms.push('cordova') self.platforms.push('cordova')
...@@ -225,13 +225,13 @@ ...@@ -225,13 +225,13 @@
} else { } else {
self.platforms.push('browser') self.platforms.push('browser')
} }
if (self.isIPad()) self.platforms.push('ipad') if (self.isIPad()) self.platforms.push('ipad')*/
var platform = self.platform() var platform = self.platform()
if (platform) { if (platform) {
self.platforms.push(platform) self.platforms.push(platform)
var version = self.version() /*var version = self.version()
if (version) { if (version) {
var v = version.toString() var v = version.toString()
if (v.indexOf('.') > 0) { if (v.indexOf('.') > 0) {
...@@ -247,10 +247,10 @@ ...@@ -247,10 +247,10 @@
} else if (self.isWindowsPhone()) { } else if (self.isWindowsPhone()) {
grade = 'b' 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