-
-
Save evangoer/1161628 to your computer and use it in GitHub Desktop.
YUI Boilerplate - more minimal
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> | |
<title>My App</title> | |
<link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.4.0/build/cssreset/cssreset-min.css& | |
3.4.0/build/cssfonts/cssfonts-min.css&3.4.0/build/cssgrids/cssgrids-min.css"> | |
<link rel="stylesheet" href="styles.css"> | |
<script src="http://yui.yahooapis.com/3.4.0/build/yui/yui-min.js"></script> | |
<script> | |
YUI().use("event-base", function (Y) { | |
// specify "node-base", "event-base", or whichever modules your app requires | |
Y.on("domready", function() { | |
// ... | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment