Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected various typos #13

Merged
merged 1 commit into from May 11, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions index.html
Expand Up @@ -41,7 +41,7 @@ <h1>Accessibility</h1>
<h2>What's Up, DOCTYPE?</h2> <h2>What's Up, DOCTYPE?</h2>


<p> <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> </p>


<script type="syntaxhighlighter" class="brush: xml; toolbar: false; gutter: false;"><![CDATA[ <script type="syntaxhighlighter" class="brush: xml; toolbar: false; gutter: false;"><![CDATA[
Expand Down Expand Up @@ -708,7 +708,7 @@ <h2>Feature Sniff, Don't Browser Sniff</h2>


<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[ <script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
if ($.browser.msie) { if ($.browser.msie) {
// no it doesn�t // no it doesn�t
} }
]]></script> ]]></script>


Expand All @@ -728,7 +728,7 @@ <h2>Feature Sniff, Don't Browser Sniff</h2>
<p> <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. 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. 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> </p>


<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[ <script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
Expand Down Expand Up @@ -765,7 +765,7 @@ <h1>jQuery Specific</h1>
<h2>Chain Like a Sick Bitch</h2> <h2>Chain Like a Sick Bitch</h2>


<p> <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> </p>


<script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[ <script type="syntaxhighlighter" class="brush: js; toolbar: false; gutter: false;"><![CDATA[
Expand Down Expand Up @@ -800,7 +800,7 @@ <h2>&lsquo;.stop()&rsquo; Collaborate &amp; Listen</h2>


<p> <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. 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. 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> </p>


Expand Down