Created
April 9, 2014 18:53
requirejs: requirejsdemo.html
This file contains 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> | |
<title>Demo html5 page</title> | |
<!-- data-main attribute tells require.js to load | |
scripts/app.js after require.js loads. --> | |
<script data-main="scripts/app" src="scripts/require.js"></script> | |
</head> | |
<body> | |
<h1>RequireJS demo</h1> | |
<div><button id="sayHi">Try me!!</button></div> | |
<div>languages</div> | |
<ul id="languages"> </ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment