Skip to content

Instantly share code, notes, and snippets.

@evangoer
evangoer / gist:1161628
Created August 22, 2011 03:58 — forked from juandopazo/gist:1161269
YUI Boilerplate - more minimal
<!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
goer@lowerbicycle-lm /tmp/yeti $ git init
Initialized empty Git repository in /private/tmp/yeti/.git/
goer@lowerbicycle-lm /tmp/yeti $ git pull git://github.com/reid/yeti
remote: Counting objects: 1399, done.
remote: Compressing objects: 100% (643/643), done.
remote: Total 1399 (delta 813), reused 1253 (delta 720)
Receiving objects: 100% (1399/1399), 279.36 KiB | 208 KiB/s, done.
Resolving deltas: 100% (813/813), done.
From git://github.com/reid/yeti
* branch HEAD -> FETCH_HEAD
# YUI 3 Cookbook Table of Contents
## YUI BASICS
### Put YUI on the Page
* Load YUI
* Load debug builds
* Load locally hosted builds
* Load a YUI 2 widget