Skip to content

Commit

Permalink
Merge pull request #2 from pselle/fix_method
Browse files Browse the repository at this point in the history
Fix methods slide, length is not a method
  • Loading branch information
izzyjohnston committed Mar 4, 2013
2 parents ed96be4 + e3e270a commit ec0fed3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions class2.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,15 +411,14 @@ <h3>DOM Interaction: Easier</h3>
<section>
<h3>Methods</h3>
<ul>
<li class = "fragment">Methods are special functions</li>
<li class = "fragment">Methods are functions that are associated with an object</li>
<li class = "fragment">The affect or return a value for a specific object</li>
<li class = "fragment">Used with dot notation</li>
</ul>
<div class = "fragment">
Previously seen example:
<pre><code contenteditable class = "javascript">
var candy = ['Gummy Bears', 'Sour Patch Kids', 'Swedish Fish'];
var length = candy.length;
var img = document.getElementById('mainpicture');
</code></pre>
</div>
</section>
Expand Down

0 comments on commit ec0fed3

Please sign in to comment.