Skip to content

Commit

Permalink
Fixing typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwhisenhunt committed Dec 31, 2012
1 parent c8e7aa3 commit 3d24f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/index.html
Expand Up @@ -6586,7 +6586,7 @@ <h2 id="wrapperpatternjquery"><strong>The Adapter Pattern</strong></h2>
<p>Adapters basically allow objects or classes to function together which normally couldn't due to their incompatible interfaces. The adapter translates calls to its interface into calls to the original interface and the code required to achieve this is usually quite minimal. <p>Adapters basically allow objects or classes to function together which normally couldn't due to their incompatible interfaces. The adapter translates calls to its interface into calls to the original interface and the code required to achieve this is usually quite minimal.
</p> </p>


<p>One example of a adapter we may have used is the jQuery <code>jQuery.fn.css()</code> method. It helps normalize the interfaces to how styles can be applied across a number of browsers, making in trivial for us to use a simple syntax which is adapted to use what the browser actually supports behind the scenes:</p> <p>One example of an adapter we may have used is the jQuery <code>jQuery.fn.css()</code> method. It helps normalize the interfaces to how styles can be applied across a number of browsers, making it trivial for us to use a simple syntax which is adapted to use what the browser actually supports behind the scenes:</p>


<pre class="brush: js"> <pre class="brush: js">


Expand Down

0 comments on commit 3d24f78

Please sign in to comment.