Skip to content

Commit e498c0d

Browse files
committed
Merge pull request #7 from callumacrae/patch-1
Fixed a couple index.md inconsistencies
2 parents b3e4e5c + e29b35f commit e498c0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ This is useful to rapidly compare element positions which is common when widgets
157157
{% highlight javascript %}
158158
// Set a session cookie
159159
$.cookie('the_cookie', 'the_value');
160-
$.cookie('the_cookie') // -> 'the_value'
160+
$.cookie('the_cookie'); // -> 'the_value'
161161
// Set a cookie that expires in 7 days
162162
$.cookie('the_cookie', 'the_value', { expires: 7 });
163163
// delete the cookie
@@ -184,7 +184,7 @@ And use `$(el).animate({ innerHeight : 100 })` to animate them. This is useful w
184184

185185
{% highlight javascript %}
186186
$('#foo').outerWidth(100).innerHeight(50);
187-
$('#bar').animate({outerWidth: 500});
187+
$('#bar').animate({ outerWidth: 500 });
188188
{% endhighlight %}
189189

190190
The following example lets you change the different width properties used by `$(el).innerWidth([width])` and
@@ -239,7 +239,7 @@ range.start('+5');
239239
// Move the end 5 characters to the left
240240
range.end('-5');
241241
// Return the range text
242-
range.toString() // is some
242+
range.toString(); // is some
243243
// Select the current range
244244
range.select();
245245
{% endhighlight %}

0 commit comments

Comments
 (0)