Permalink
Browse files

Corrected various typos

  • Loading branch information...
unruthless committed May 6, 2011
1 parent 0e145b4 commit 1229ea760d4f578583d155499eedfb121cf553ea
Showing with 5 additions and 5 deletions.
  1. +5 −5 index.html
View
@@ -41,7 +41,7 @@ <h1>Accessibility</h1>
<h2>What's Up, DOCTYPE?</h2>
<p>
- The absence of a DOCTYPE is a crime punishable by death. You may have relied on the following DOCTYPE in the past, but it's important to know that this is now being superceded by a leaner and meaner snippet.
+ The absence of a DOCTYPE is a crime punishable by death. You may have relied on the following DOCTYPE in the past, but it's important to know that this is now being superseded by a leaner and meaner snippet.
</p>
<script type="syntaxhighlighter" class="brush: xml; toolbar: false; gutter: false;"><![CDATA[
@@ -708,7 +708,7 @@ <h2>Feature Sniff, Don't Browser Sniff</h2>
<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
if ($.browser.msie) {
- // no it doesn’t
+ // no it doesnt
}
]]></script>
@@ -728,7 +728,7 @@ <h2>Feature Sniff, Don't Browser Sniff</h2>
<p>
In steps <a href="http://www.modernizr.com" target="_blank">Modernizr</a>, a JavaScript library developed in part by industry dream-boat Paul Irish.
With wide adoption, tiny file-size and plenty of <a href="http://www.modernizr.com/docs/#s1" target="_blank">documentation</a>: implementing it is a no-brainer.
- It creates a <code>Modernizr</code> object that contains the results of it's detection tests, so checking feature support is as simple as the following:
+ It creates a <code>Modernizr</code> object that contains the results of its detection tests, so checking feature support is as simple as the following:
</p>
<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
@@ -765,7 +765,7 @@ <h1>jQuery Specific</h1>
<h2>Chain Like a Sick Bitch</h2>
<p>
- One of the best parts of jQuery is it's function chaining. You've probably used it a bit, maybe a few simple calls... but have you ever traversed the DOM like a sick bitch? Take some time to familiarise yourself with the <a href="http://api.jquery.com/end/" target="_blank">.end()</a> function. It is critical for when you begin stepping up and down the DOM tree from your original selector.
+ One of the best parts of jQuery is its function chaining. You've probably used it a bit, maybe a few simple calls... but have you ever traversed the DOM like a sick bitch? Take some time to familiarise yourself with the <a href="http://api.jquery.com/end/" target="_blank">.end()</a> function. It is critical for when you begin stepping up and down the DOM tree from your original selector.
</p>
<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
@@ -800,7 +800,7 @@ <h2>&lsquo;.stop()&rsquo; Collaborate &amp; Listen</h2>
<p>
When using <code>$.animate</code>, <code>queue: false</code> can be added to the parameters to prevent chaining. Animation shortcuts such as <code>$.fadeIn</code> or <code>$.slideDown</code> do not take <code>queue</code> settings.
- Instead you have to pre-empt these animations with the <code>$.stop</code> method of pausing currently executing animations. Certain scenarios require the animation to stop dead in it's tracks, or to jump to the end of the transition.
+ Instead you have to pre-empt these animations with the <code>$.stop</code> method of pausing currently executing animations. Certain scenarios require the animation to stop dead in its tracks, or to jump to the end of the transition.
It is recommended you familiarise yourself with the <a href="http://api.jquery.com/stop/" target="_blank">documentation</a> of the parameters <code>clearQueue</code> and <code>jumpToEnd</code>, because god knows I can't help you there.
</p>

0 comments on commit 1229ea7

Please sign in to comment.