Skip to content

Instantly share code, notes, and snippets.

@odoe
Created April 20, 2015 17:01
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 odoe/a4c2c8569e9b330c6d55 to your computer and use it in GitHub Desktop.
Save odoe/a4c2c8569e9b330c6d55 to your computer and use it in GitHub Desktop.
index.html for a Mayhem demo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>EsriJS Mayhem</title>
<link rel="stylesheet" href="app/resources/main.css">
</head>
<body class="nihilo">
<script>
var dojoConfig = {
async: true,
baseUrl: './',
isDebug: true,
deps: [ 'app' ],
packages: [
'app',
{ name: 'dojo', location: '../bower_components/dojo' },
{ name: 'dgrid', location: '../bower_components/dgrid' },
{ name: 'dijit', location: '../bower_components/dijit' },
{ name: 'dstore', location: '../bower_components/dstore' },
{ name: 'put-selector', location: '../bower_components/put-selector' },
{ name: 'xstyle', location: '../bower_components/xstyle' },
{ name: 'mayhem', location: '../bower_components/mayhem/dist' },
{ name: 'intl-messageformat', location: '../bower_components/intl-messageformat/dist', main: 'intl-messageformat' },
{ name: 'esprima', location: '../bower_components/esprima', main: 'esprima' }
],
tlmSiblingOfDojo: false
};
</script>
<script src="../bower_components/dojo/dojo.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment