Browse Source

docs : remove syntax typo in adding items. Thx Tony Dewan

pull/14/head
David DeSandro 14 years ago
parent
commit
17cd3b8a44
  1. 4
      _posts/docs/2010-12-10-adding-items.mdown

4
_posts/docs/2010-12-10-adding-items.mdown

@ -22,7 +22,7 @@ The [`addItems` method](methods.html#additems) adds new content to an Isotope co
{% highlight javascript %}
var $newItems = $('<div class="item" /><div class="item" /><div class="item" />');
$('#container').append( $newItems ).isotope({ 'addItems', $newItems });
$('#container').append( $newItems ).isotope( 'addItems', $newItems );
{% endhighlight %}
@ -33,7 +33,7 @@ More likely, you want to use the [`insert` method](methods.html#insert), which d
{% highlight javascript %}
var $newItems = $('<div class="item" /><div class="item" /><div class="item" />');
$('#container').isotope({ 'insert', $newItems });
$('#container').isotope( 'insert', $newItems );
{% endhighlight %}

Loading…
Cancel
Save