You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/02/23 23:29:31 UTC

[34/50] [abbrv] custom template

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a7c52f6/templates/custom/www/index.html
----------------------------------------------------------------------
diff --git a/templates/custom/www/index.html b/templates/custom/www/index.html
index 437ba32..9dcb0f4 100644
--- a/templates/custom/www/index.html
+++ b/templates/custom/www/index.html
@@ -4,14 +4,18 @@
     <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
     
-    <title>PhoneGap WP7</title>
+    <title>Cordova WP7</title>
     
 	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
             
-      <!-- note this is a minimal version of phonegap.js, 
-        you must add additional scripts to access sensors, ... -jm
+      <!-- 
+        Note: If you want to support more device APIs, you will need to include the full cordova-1.4.1.js -jm 
       -->
-      <script type="text/javascript" charset="utf-8" src="phonegap-1.4.1-core.js"></script>
+      <!-- 
+      <script type="text/javascript" charset="utf-8" src="cordova-1.4.1.js"></script>
+      -->
+      
+      <script type="text/javascript" charset="utf-8" src="cordova-1.4.1-core.js"></script>
        
       <script type="text/javascript">
 
@@ -20,7 +24,7 @@
         // once the device ready event fires, you can safely do your thing! -jm
         function onDeviceReady()
         {
-            document.getElementById("welcomeMsg").innerHTML += "PhoneGap is ready! version=" + window.device.phonegap;
+            document.getElementById("welcomeMsg").innerHTML += "Cordova is ready! version=" + window.device.cordova;
             console.log("onDeviceReady. You should see this message in Visual Studio's output window.");
             
         }
@@ -32,7 +36,7 @@
 
   </head>
   <body>
-    <h1>Hello PhoneGap</h1>
+    <h1>Hello Cordova</h1>
     <div id="welcomeMsg"></div>
   </body>
 </html>