Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Fixed up landing page with new documentation for loading the seed
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Dec 14, 2011
1 parent 9b22b52 commit 0c1c0dc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
1 change: 0 additions & 1 deletion static/style.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ div {
margin: .5em 0; margin: .5em 0;
} }
pre { pre {
width: 70%;
border: 1px solid #333; border: 1px solid #333;
line-height: 1.5hm; line-height: 1.5hm;
background-color: #ccc; background-color: #ccc;
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<body> <body>




<script src="http://127.0.0.1:8082/seed"></script> <script src="http://127.0.0.1:8082/seed?filter=debug"></script>
<script> <script>
YUI().use('node', function(Y) { YUI().use('node', function(Y) {
Y.one('body').setStyle('backgroundColor', 'green'); Y.one('body').setStyle('backgroundColor', 'green');
Expand Down
19 changes: 13 additions & 6 deletions views/index.mustache
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ releases.</div>
source tree is built and served from /yui. All you need to do is to point your 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> YUI object to the nightly combo loader.</div>


<div>Add the following code to your main template before any calls to <div>To use this, simply use this as your seed file:</div>
<code>YUI().use()</code>.</div>


<pre><code>YUI_config = { <pre><code>
comboBase: 'http://yuinightly.kludg.com/yui?', &lt;script src="http://yuinightly.kludg.com/seed"&gt;&lt;/script&gt;
root: '' </code></pre>
};</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 <div><strong>Note:</strong> Do this in a development instance. If you point
production to this development code, you deserve everything you get.</div> production to this development code, you deserve everything you get.</div>
Expand Down

0 comments on commit 0c1c0dc

Please sign in to comment.