incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [10/17] update tests for 1.6
Date Wed, 28 Mar 2012 01:15:47 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4fce8c26/tests/MobileSpecUnitTests/www/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/index.html b/tests/MobileSpecUnitTests/www/index.html
index 803be42..22b4230 100644
--- a/tests/MobileSpecUnitTests/www/index.html
+++ b/tests/MobileSpecUnitTests/www/index.html
@@ -6,49 +6,50 @@
 
     <title>Cordova Tests</title>
 	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8"/>
+
       
-      <script type="text/javascript" charset="utf-8" src="cordova-1.5.0.js"></script>

+      <script type="text/javascript" charset="utf-8" src="cordova-1.6.0.js"></script>
        
       <script type="text/javascript">
 
 
-          function init()
-          {
-          document.addEventListener("deviceready",onDeviceReady,false);
-          document.addEventListener("backbutton",onBackButton,false);
+      function init()
+      {
+      document.addEventListener("deviceready",onDeviceReady,false);
+      document.addEventListener("backbutton",onBackButton,false);
 
-          }
+      }
 
 
-          function onBackButton()
-          {
-          console.log("onBackButton");
-          }
+      function onBackButton()
+      {
+      console.log("onBackButton");
+      }
 
-          function onDeviceReady(e)
-          {
-          updateDeviceInfo();
-          console.log("deviceready event fired!");
-          }
+      function onDeviceReady(e)
+      {
+      updateDeviceInfo();
+      console.log("deviceready event fired!");
+      }
 
-          function updateDeviceInfo()
-          {
-          document.getElementById("platform").innerHTML = device.platform;
-          document.getElementById("version").innerHTML = device.version;
-          document.getElementById("uuid").innerHTML = device.uuid;
-          document.getElementById("name").innerHTML = device.name;
-          document.getElementById("width").innerHTML = screen.width;
-          document.getElementById("height").innerHTML = screen.height;
-          document.getElementById("colorDepth").innerHTML = screen.colorDepth;
-          document.getElementById("cordovaVersion").innerHTML = device.cordova;
+      function updateDeviceInfo()
+      {
+      document.getElementById("platform").innerHTML = device.platform;
+      document.getElementById("version").innerHTML = device.version;
+      document.getElementById("uuid").innerHTML = device.uuid;
+      document.getElementById("name").innerHTML = device.name;
+      document.getElementById("width").innerHTML = screen.width;
+      document.getElementById("height").innerHTML = screen.height;
+      document.getElementById("colorDepth").innerHTML = screen.colorDepth;
+      document.getElementById("cordovaVersion").innerHTML = device.cordova;
 
-          };
+      };
 
 
 
 
 
-      </script>
+  </script>
 
 
   </head>


Mime
View raw message