Skip to content

Instantly share code, notes, and snippets.

@gabehamilton
Created May 30, 2013 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabehamilton/5675778 to your computer and use it in GitHub Desktop.
Save gabehamilton/5675778 to your computer and use it in GitHub Desktop.
<!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