Permalink
Browse files

Fixed up landing page with new documentation for loading the seed

  • Loading branch information...
1 parent 9b22b52 commit 0c1c0dc517198f27f90552eff60a4992fa24eedf @davglass committed Dec 14, 2011
Showing with 14 additions and 8 deletions.
  1. +0 −1 static/style.css
  2. +1 −1 test/index.html
  3. +13 −6 views/index.mustache
View
1 static/style.css
@@ -9,7 +9,6 @@ div {
margin: .5em 0;
}
pre {
- width: 70%;
border: 1px solid #333;
line-height: 1.5hm;
background-color: #ccc;
View
2 test/index.html
@@ -6,7 +6,7 @@
<body>
-<script src="http://127.0.0.1:8082/seed"></script>
+<script src="http://127.0.0.1:8082/seed?filter=debug"></script>
<script>
YUI().use('node', function(Y) {
Y.one('body').setStyle('backgroundColor', 'green');
View
19 views/index.mustache
@@ -9,13 +9,20 @@ releases.</div>
source tree is built and served from /yui. All you need to do is to point your
YUI object to the nightly combo loader.</div>
-<div>Add the following code to your main template before any calls to
-<code>YUI().use()</code>.</div>
+<div>To use this, simply use this as your seed file:</div>
-<pre><code>YUI_config = {
- comboBase: 'http://yuinightly.kludg.com/yui?',
- root: ''
-};</code></pre>
+<pre><code>
+&lt;script src="http://yuinightly.kludg.com/seed"&gt;&lt;/script&gt;
+</code></pre>
+
+<div>
+The seed file also supports the 3 default YUI filter's: <code>min, raw, filter</code>
+</div>
+<pre><code>
+&lt;script src="http://yuinightly.kludg.com/seed?filter=min"&gt;&lt;/script&gt;
+&lt;script src="http://yuinightly.kludg.com/seed?filter=raw"&gt;&lt;/script&gt;
+&lt;script src="http://yuinightly.kludg.com/seed?filter=debug"&gt;&lt;/script&gt;
+</code></pre>
<div><strong>Note:</strong> Do this in a development instance. If you point
production to this development code, you deserve everything you get.</div>

0 comments on commit 0c1c0dc

Please sign in to comment.