update hello world app to 2.2.0
diff --git a/framework/css/index.css b/framework/css/index.css
index f1f9d76..51daa79 100644
--- a/framework/css/index.css
+++ b/framework/css/index.css
@@ -17,13 +17,13 @@
* under the License.
*/
* {
- -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
- -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
- -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
}
body {
+ -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
+ -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
+ -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
background-color:#E4E4E4;
background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
diff --git a/framework/index.html b/framework/index.html
index 92484ad..4f8dc5f 100644
--- a/framework/index.html
+++ b/framework/index.html
@@ -33,7 +33,7 @@
<p class="event received">Device is Ready</p>
</div>
</div>
- <script type="text/javascript" src="cordova-2.1.0.js"></script>
+ <script type="text/javascript" src="cordova-2.2.0.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
diff --git a/framework/js/index.js b/framework/js/index.js
index 3b75d3f..31d9064 100644
--- a/framework/js/index.js
+++ b/framework/js/index.js
@@ -24,14 +24,14 @@
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
- // `load`, `deviceready`, `offline`, and `online`.
+ // 'load', 'deviceready', 'offline', and 'online'.
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
// deviceready Event Handler
//
- // The scope of `this` is the event. In order to call the `receivedEvent`
- // function, we must explicity call `app.receivedEvent(...);`
+ // The scope of 'this' is the event. In order to call the 'receivedEvent'
+ // function, we must explicity call 'app.receivedEvent(...);'
onDeviceReady: function() {
app.receivedEvent('deviceready');
},