Skip to content
Browse files

Update index.html

  • Loading branch information...
1 parent ce6875c commit b80adae14f423fb0c3c0baac5e1fa1932de7e213 @adrianj98 committed Jan 25, 2014
Showing with 20 additions and 10 deletions.
  1. +20 −10 index.html
View
30 index.html
@@ -2,7 +2,7 @@
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no"/>
- <title>Cordova Meteor Hello world</title>
+ <title>Meteor Cordova Hello World</title>
<link rel="stylesheet" type="text/css" href="css/meteor.cordova.css">
@@ -13,22 +13,32 @@
<!--<script charset="utf-8" type="text/javascript" src="meteor.cordova.push.js"></script>-->
+ <script type="text/javascript">
+ shellVersion = '0.0.1';
+ document.addEventListener('deviceready', function() {
-</head>
-<body>
- <iframe id="meteor" src="http://live.peoplenook.com"></iframe>
+ meteor = new MeteorCordova('http://live.peoplenook.com', {
+ // This shell version
+ version: '0.0.1',
+ // Do we rely on appcache?
+ appcache: false
+ });
- <script type="text/javascript">
-
- shellVersion = '0.1.4';
+ meteor.load(function(error) {
+ if (error) {
+ alert('error: ' + error);
+ }
+ });
- meteor = new MeteorCordova('meteor');
-
- // meteor.initPush({ senderID: 'xGoogleKeyx' });
+ // meteor.initPush({ senderID: 'xxxxxxxxxxx' });
+
+ });
</script>
+</head>
+<body>
</body>
</html>

0 comments on commit b80adae

Please sign in to comment.
Something went wrong with that request. Please try again.