Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tweaked comments regarding module inclusions. Also, 3.3.0->3.5.0

  • Loading branch information...
commit 699e115ce5ce20f6141187b58ab21c6602ec5638 1 parent 41811b6
Derek Gathright authored September 08, 2012

Showing 1 changed file with 7 additions and 6 deletions. Show diff stats Hide diff stats

  1. 13  index.html
13  index.html
@@ -63,7 +63,7 @@ <h2 id="start">Getting Started</h2>
63 63
       </td>
64 64
       <td class="code">
65 65
 <pre class="code yui">
66  
-&lt;script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"&gt;&lt;/script&gt;
  66
+&lt;script src="http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js"&gt;&lt;/script&gt;
67 67
 
68 68
 
69 69
 
@@ -85,6 +85,8 @@ <h2 id="start">Getting Started</h2>
85 85
     // example code here
86 86
   });
87 87
 </pre>
  88
+
  89
+<p>If any additional modules are needed, they'll be specified in the "notes" section to the example.</p>
88 90
       </td>
89 91
     </tr>
90 92
   </tbody>
@@ -725,7 +727,7 @@ <h2 id="events">Events</h2>
725 727
 </pre>
726 728
       </td>
727 729
       <td class="notes">
728  
-        <p>Simulates a <em>click</em> event. In YUI, you'll need the <i>node-event-simulate</i> module.</p>
  730
+        <p>Simulates a <em>click</em> event. In YUI, you'll need the <code>node-event-simulate</code> module.</p>
729 731
       </td>
730 732
     </tr>
731 733
   </tbody>
@@ -1062,7 +1064,7 @@ <h2 id="effects">Effects</h2>
1062 1064
       </td>
1063 1065
       <td class="notes">
1064 1066
         <p>The basic syntax and capabilities of both animation libraries are very similar. jQuery has convenience methods for effects like <code>.fadeIn()</code>, <code>.slideUp()</code>, etc. jQuery core has two easing functions: 'linear' and 'swing', but jQuery UI comes with <a href="http://jqueryui.com/demos/effect/">many more effects</a> as plugins.</p>
1065  
-        <p>YUI has several <a href="http://yuilibrary.com/yui/docs/api/classes/Easing.html">easing algorithms</a> built-in, and offers additional tools such as <a href="http://yuilibrary.com/yui/docs/anim/curve.html">animations over Bezier curves</a>. Make sure to load the <code>'anim'</code> module in your call to <code>YUI().use()</code>.</p>
  1067
+        <p>YUI has several <a href="http://yuilibrary.com/yui/docs/api/classes/Easing.html">easing algorithms</a> built-in, and offers additional tools such as <a href="http://yuilibrary.com/yui/docs/anim/curve.html">animations over Bezier curves</a>. Requires the <code>anim</code> module.</p>
1066 1068
       </td>
1067 1069
     </tr>
1068 1070
 
@@ -1231,7 +1233,7 @@ <h2 id="ajax">Ajax</h2>
1231 1233
 </pre>
1232 1234
       </td>
1233 1235
       <td class="notes">
1234  
-        <p><a href="http://yuilibrary.com/yui/docs/io/">YUI.io</a> has extra options for failure mode callbacks, headers, cross-frame i/o, etc. <a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax()</a> has some interesting options for async, context, and filtering. Make sure to load the YUI <code>'io'</code> module.</p>
  1236
+        <p><a href="http://yuilibrary.com/yui/docs/io/">YUI.io</a> has extra options for failure mode callbacks, headers, cross-frame i/o, etc. <a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax()</a> has some interesting options for async, context, and filtering. Make sure to load the YUI <code>io</code> module.</p>
1235 1237
       </td>
1236 1238
     </tr>
1237 1239
 
@@ -1296,7 +1298,6 @@ <h2 id="ajax">Ajax</h2>
1296 1298
 </td>
1297 1299
       <td class="code">
1298 1300
 <pre class="code yui">
1299  
-<i>// (module: jsonp)</i>
1300 1301
 Y.jsonp(
1301 1302
   "/some/jsonpURL.json?callback={callback}", 
1302 1303
   <i>successFn</i>
@@ -1304,7 +1305,7 @@ <h2 id="ajax">Ajax</h2>
1304 1305
 </pre>
1305 1306
       </td>
1306 1307
       <td class="notes">
1307  
-        <p>JSONP requests. Same-origin policy is not enforced.</p>
  1308
+        <p>JSONP requests. Same-origin policy is not enforced.  Requires the <code>jsonp</code> module.</p>
1308 1309
       </td>
1309 1310
     </tr>
1310 1311
   </tbody>

0 notes on commit 699e115

Please sign in to comment.
Something went wrong with that request. Please try again.