Skip to content

Commit

Permalink
Example tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny committed Jul 21, 2011
1 parent 10a5c22 commit 7e57b4b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/cache/docs/partials/cache-basic-source.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@



<script type="text/javascript">
<script>
YUI().use("node", "datatype-number", "cache-base" ,function (Y) {
var cache = new Y.Cache();
Expand Down
2 changes: 1 addition & 1 deletion src/cache/docs/partials/cache-offline-source.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</form>


<script type="text/javascript">
<script>
YUI().use("node", "datatype-number", "cache-offline" ,function (Y) {
var cache1 = new Y.CacheOffline({sandbox:"instance1"});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@



<script type="text/javascript">
<script>
YUI().use("dump", "node", "dataschema-array", function (Y) {
Y.on("click", function(e){
var data_in = [{make:"Chevrolet",model:"Bel Air",year:1957},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</form>


<script type="text/javascript">
<script>
YUI().use("dump", "node", "dataschema-json", function (Y) {
Y.on("click", function(e){
var data_in = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

</form>

<script type="text/javascript">
<script>
YUI().use("dump", "node", "datatype", "dataschema", function (Y) {
Y.on("click", function(e){
var data_in = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</form>


<script type="text/javascript">
<script>
YUI().use("dump", "node", "datatype-xml", "dataschema-xml", function (Y) {
Y.on("click", function(e){
var tableEl = Y.Node.getDOMNode(Y.one("#simple")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pens, 500, blue ink
<div id="demo_output" class="output"></div>
</form>

<script type="text/javascript">
<script>
YUI().use("dump", "node", "dataschema-text", function (Y) {
Y.on("click", function(e){
var data_in = "notebooks, 100, spiral-bound\npencils, 300, #2 with erasers\npens, 500, blue ink\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</form>


<script type="text/javascript">
<script>
YUI().use("dump", "node", "datatype-xml", "dataschema-xml", function (Y) {
Y.on("click", function(e){
var data_in = Y.DataType.XML.parse('<root><session>34637542</session><category name="music" id="5"><results><song id="59672468"><title>I Kissed A Girl</title><rank>1</rank><artist id="30326214">Katy Perry</artist></song><song id="47973564"><title>Shake It</title><rank>2</rank><artist id="45575683">Metro Station</artist></song><song id="52207363"><title>Bleeding Love</title><rank>3</rank><artist id="37956508">Leona Lewis</artist></song></results></category></root>'),
Expand Down

0 comments on commit 7e57b4b

Please sign in to comment.