cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From becka...@apache.org
Subject spec commit: Fixes CB-2109 device.platform value in audio
Date Wed, 02 Jan 2013 22:44:25 GMT
Updated Branches:
  refs/heads/master 7aa657295 -> dbd91a50e


Fixes CB-2109 device.platform value in audio

The audio test file relies on device.platform in order to create
the file for recording on iOS.  Had to be updated to look for the
new value of "iOS"


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/dbd91a50
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/dbd91a50
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/dbd91a50

Branch: refs/heads/master
Commit: dbd91a50eb990ae177deed22aa32707550b09679
Parents: 7aa6572
Author: Becky Gibson <becka11y@apache.org>
Authored: Wed Jan 2 17:38:30 2013 -0500
Committer: Becky Gibson <becka11y@apache.org>
Committed: Wed Jan 2 17:38:30 2013 -0500

----------------------------------------------------------------------
 audio/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/dbd91a50/audio/index.html
----------------------------------------------------------------------
diff --git a/audio/index.html b/audio/index.html
index c404318..4edf37a 100644
--- a/audio/index.html
+++ b/audio/index.html
@@ -287,7 +287,7 @@
     function init() {
         document.addEventListener("deviceready", function() {
                 deviceReady = true;
-                if (device.platform.indexOf("iPhone") !=-1 || device.platform.indexOf("iPad")
!=-1)
+                if (device.platform.indexOf("iOS") !=-1)
                 {
                      getRecordSrc();
                 } else if (typeof blackberry !== 'undefined') {


Mime
View raw message