Skip to content

Instantly share code, notes, and snippets.

@efleming969
Created January 27, 2010 17:13
Show Gist options
  • Save efleming969/288015 to your computer and use it in GitHub Desktop.
Save efleming969/288015 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
<head>
<title>Testing</title>
<link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.4.0/dijit/themes/tundra/tundra.css" />
<style type="text/css">
body, html {
font-family:helvetica,arial,sans-serif;
font-size:90%;
width: 100%; height: 100%;
margin: 0;
}
</style>
<script type="text/javascript">
djConfig = {
parseOnLoad: true,
isDebug: true
};
</script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.4.0/dojo/dojo.xd.js"></script>
<script type="text/javascript">
dojo.addOnLoad(function() {
dojo.declare("SimpleClass", null, {
constructor: function() {
console.log("i'm a class");
}
});
var sc = new SimpleClass();
});
</script>
</head>
<body class="tundra">
<h1>Hello World</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment