You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/03/21 23:07:22 UTC

[3/3] git commit: update to version 2.6.0rc1

update to version 2.6.0rc1


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/5ded5a7b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/5ded5a7b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/5ded5a7b

Branch: refs/heads/master
Commit: 5ded5a7bc64d383116f95b6b2ae4564904d0999c
Parents: bbc5c4d
Author: hermwong <he...@gmail.com>
Authored: Thu Mar 21 15:06:31 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Thu Mar 21 15:06:31 2013 -0700

----------------------------------------------------------------------
 VERSION                        |    2 +-
 framework/index.html           |    7 +-
 lib/cordova.firefoxos-debug.js |  129 +++++
 lib/cordova.firefoxos.js       |  941 ++++++++++++++++++++++++-----------
 4 files changed, 798 insertions(+), 281 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/5ded5a7b/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
index 197c4d5..e70b452 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.4.0
+2.6.0

http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/5ded5a7b/framework/index.html
----------------------------------------------------------------------
diff --git a/framework/index.html b/framework/index.html
index a6a5ff3..d0a5250 100644
--- a/framework/index.html
+++ b/framework/index.html
@@ -32,11 +32,16 @@
                 <p class="event listening">Connecting to Device</p>
                 <p class="event received">Device is Ready</p>
             </div>
+            <button onclick="getOrientation();">Get Orientation</button>
         </div>
-        <script type="text/javascript" src="cordova-2.4.0.js"></script>
+        <script type="text/javascript" src="cordova-2.6.0.js"></script>
         <script type="text/javascript" src="js/index.js"></script>
         <script type="text/javascript">
             app.initialize();
+            
+            function getOrientation() {
+                alert(orientation.getCurrentOrientation());
+            }
         </script>
     </body>
 </html>