Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbobell committed Sep 8, 2015
2 parents e6648c5 + ec3b7d2 commit 5a3a400
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ define(function() {
* @description 获取浏览器所在系统,"Win"->Windows;"Mac"->Mac;"Lux"->Linux
* @type {String}
*/
platform: (function() {
platform: (function(navigator) {
var _p = {
"win32": "Win",
"MacIntel": "Mac"
"macintel": "Mac"
};
return _p[navigator.platform.toLowerCase()] || "Lux";
}),
})(navigator),

/**
* 猎豹,区分两种不同内核
Expand Down

0 comments on commit 5a3a400

Please sign in to comment.