Permalink
Browse files

Added example

  • Loading branch information...
davglass committed Feb 8, 2012
1 parent 1e36b10 commit 6ff528b7007c537442217252dd0247974e6fd11c
Showing with 7 additions and 9 deletions.
  1. +2 −0 README.md
  2. +5 −9 test/index.html
View
@@ -9,6 +9,8 @@ The requests are cached in memory for 5 minutes to make sure we don't explode Gi
I've hosted this over at [http://jitsu.com](Nodejitsu) in case you wanted to give it a shot.
+Here's an [http://dl.dropbox.com/u/5669457/yui-master-combo.html](example).
+
How it works
------------
View
@@ -3,17 +3,13 @@
<head>
<title>Test</title>
</head>
-<body class="yui3-skin-sam">
-
-<span class="horiz_slider"></span>
-
-<!--script src="http://localhost:5000/"></script-->
+<body>
+<h1>Testing</h1>
<script src="http://yui-master-combo.nodejitsu.com/"></script>
<script>
-YUI().use('slider', function(Y) {
- console.log(Y);
- var xSlider = new Y.Slider();
- xSlider.render( ".horiz_slider" );
+YUI().use('node', function(Y) {
+ Y.one('body').setStyle('backgroundColor', 'green');
+ Y.one('h1').setStyle('color', 'white');
});
</script>
</body>

0 comments on commit 6ff528b

Please sign in to comment.