[CB-2600] match case for cordova.ios.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/b2614397 Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/b2614397 Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/b2614397 Branch: refs/heads/2.6.x Commit: b2614397e98d4f65e1a817b32508c806a2970aba Parents: f08af16 Author: James Jong <[email protected]> Authored: Mon Apr 1 14:02:30 2013 -0400 Committer: James Jong <[email protected]> Committed: Mon Apr 1 14:02:30 2013 -0400 ---------------------------------------------------------------------- cordova.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/b2614397/cordova.js ---------------------------------------------------------------------- diff --git a/cordova.js b/cordova.js index c8017d6..e877d1e 100644 --- a/cordova.js +++ b/cordova.js @@ -24,7 +24,7 @@ var PLAT; if (/Android/.exec(navigator.userAgent)) { PLAT = 'android'; } else if (/(iPad)|(iPhone)|(iPod)/.exec(navigator.userAgent)) { - PLAT = 'iOS'; + PLAT = 'ios'; } else if (/(BB10)|(PlayBook)|(BlackBerry)/.exec(navigator.userAgent)) { PLAT = 'blackberry'; }
