From 17cd3b8a446dedb25f3bda89cd8b40fe134c38af Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Fri, 4 Feb 2011 16:30:30 -0500 Subject: [PATCH] docs : remove syntax typo in adding items. Thx Tony Dewan --- _posts/docs/2010-12-10-adding-items.mdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/docs/2010-12-10-adding-items.mdown b/_posts/docs/2010-12-10-adding-items.mdown index 52d629a..392b2f4 100644 --- a/_posts/docs/2010-12-10-adding-items.mdown +++ b/_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 = $('
'); -$('#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 = $('
'); -$('#container').isotope({ 'insert', $newItems }); +$('#container').isotope( 'insert', $newItems ); {% endhighlight %}