Created
May 30, 2013 04:48
-
-
Save gabehamilton/5675778 to your computer and use it in GitHub Desktop.
Starting template for dojo mobile apps. From http://dojotoolkit.org/documentation/tutorials/1.9/mobile/tweetview/getting_started/
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 name="viewport" | |
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<title>Your Application Name</title> | |
<!-- Optionally hard code theme and remove deviceTheme below | |
<link href="//ajax.googleapis.com/ajax/libs/dojo/1.9.0/dojox/mobile/themes/iphone/iphone.css" | |
rel="stylesheet"></link> | |
--> | |
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.9.0/dojo/dojo.js" | |
data-dojo-config="async:true"></script> | |
<script> | |
// Load the widget parser and mobile base | |
require(["dojox/mobile/parser", "dojox/mobile/deviceTheme", "dojox/mobile"], | |
function(parser, deviceTheme) { | |
// Parse the page for widgets! | |
parser.parse(); | |
}); | |
</script> | |
</head> | |
<body> | |
<!-- application will go here --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment