Permalink
Browse files

Changing the mobile flag to ffos to show it is a FFOS device

  • Loading branch information...
1 parent 347d043 commit f806fcadcff8553e27bcf1ce86fcc9617ae5e48f @davglass davglass committed Mar 4, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/yui/js/yui-ua.js
  2. +2 −2 src/yui/tests/unit/assets/ua-yui-data.js
@@ -419,7 +419,7 @@ YUI.Env.parseUA = function(subUA) {
if (m && m[1]) {
o.gecko = numberify(m[1]);
if (/Mobile|Tablet/.test(ua)) {
- o.mobile = "gecko";
+ o.mobile = "ffos";
}
}
}
@@ -575,15 +575,15 @@ Y.UAData["YUI Internal"] = [
"data": {
"gecko": 13,
"os": "android",
- "mobile": "gecko"
+ "mobile": "ffos"
}
},
{
"ua": "Mozilla/5.0 (Android; Tablet; rv:13.0) Gecko/13.0 Firefox/13.0",
"data": {
"gecko": 13,
"os": "android",
- "mobile": "gecko"
+ "mobile": "ffos"
}
}
];

0 comments on commit f806fca

Please sign in to comment.