Created
May 23, 2013 22:01
-
-
Save shazron/5639804 to your computer and use it in GitHub Desktop.
RequireJS with Cordova example (index.html)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> | |
<link rel="stylesheet" type="text/css" href="css/index.css" /> | |
<title>Hello World</title> | |
</head> | |
<body> | |
<div class="app"> | |
<h1>Apache Cordova</h1> | |
<div id="deviceready" class="blink"> | |
<p class="event listening">Connecting to Device</p> | |
<p class="event received">Device is Ready</p> | |
</div> | |
</div> | |
<script type="text/javascript" data-main="js/app.js" src="js/require.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment