mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
coding is dumb
This commit is contained in:
@ -77,7 +77,7 @@ Platform.register({
|
|||||||
|
|
||||||
return app.isPlatform('ios', 'iphone|ipad|ipod');
|
return app.isPlatform('ios', 'iphone|ipad|ipod');
|
||||||
},
|
},
|
||||||
versionParser: {
|
versionParser(app) {
|
||||||
let val = app.matchUserAgent('OS (\d+)_(\d+)?');
|
let val = app.matchUserAgent('OS (\d+)_(\d+)?');
|
||||||
console.log(val);
|
console.log(val);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user