File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ This is useful to rapidly compare element positions which is common when widgets
157
157
{% highlight javascript %}
158
158
// Set a session cookie
159
159
$.cookie('the_cookie', 'the_value');
160
- $.cookie('the_cookie') // -> 'the_value'
160
+ $.cookie('the_cookie'); // -> 'the_value'
161
161
// Set a cookie that expires in 7 days
162
162
$.cookie('the_cookie', 'the_value', { expires: 7 });
163
163
// delete the cookie
@@ -184,7 +184,7 @@ And use `$(el).animate({ innerHeight : 100 })` to animate them. This is useful w
184
184
185
185
{% highlight javascript %}
186
186
$('#foo').outerWidth(100).innerHeight(50);
187
- $('#bar').animate({outerWidth: 500});
187
+ $('#bar').animate({ outerWidth: 500 });
188
188
{% endhighlight %}
189
189
190
190
The following example lets you change the different width properties used by ` $(el).innerWidth([width]) ` and
@@ -239,7 +239,7 @@ range.start('+5');
239
239
// Move the end 5 characters to the left
240
240
range.end('-5');
241
241
// Return the range text
242
- range.toString() // is some
242
+ range.toString(); // is some
243
243
// Select the current range
244
244
range.select();
245
245
{% endhighlight %}
You can’t perform that action at this time.
0 commit comments