Skip to content

Commit 44ed5e6

Browse files
committed
All: Fix indentation of examples
1 parent f011cf9 commit 44ed5e6

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

entries/blur.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $( "#other" ).on( "click", function() {
4949
<desc>To trigger the blur event on all paragraphs:</desc>
5050
<code><![CDATA[
5151
$( "p" ).trigger( "blur" );
52-
]]></code>
52+
]]></code>
5353
</example>
5454
<category slug="events/form-events"/>
5555
<category slug="forms"/>

entries/focus.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,32 +59,32 @@ $( "#other" ).on( "click", function() {
5959
span {
6060
display: none;
6161
}
62-
]]></css>
62+
]]></css>
6363
<code><![CDATA[
6464
$( "input" ).on( "focus", function() {
6565
$( this ).next( "span" ).css( "display", "inline" ).fadeOut( 1000 );
6666
} );
67-
]]></code>
67+
]]></code>
6868
<html><![CDATA[
6969
<p><input type="text"> <span>focus fire</span></p>
7070
<p><input type="password"> <span>focus fire</span></p>
71-
]]></html>
71+
]]></html>
7272
</example>
7373
<example>
7474
<desc>To stop people from writing in text input boxes, try:</desc>
7575
<code><![CDATA[
7676
$( "input[type=text]" ).on( "focus", function() {
7777
$( this ).trigger( "blur" );
7878
} );
79-
]]></code>
79+
]]></code>
8080
</example>
8181
<example>
8282
<desc>To focus on a login input box with id 'login' on page startup, try:</desc>
8383
<code><![CDATA[
8484
$( function() {
8585
$( "#login" ).trigger( "focus" );
8686
} );
87-
]]></code>
87+
]]></code>
8888
</example>
8989
<category slug="events/form-events"/>
9090
<category slug="forms"/>

entries/focusin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
span {
2727
display: none;
2828
}
29-
]]></css>
29+
]]></css>
3030
<code><![CDATA[
3131
$( "p" ).on( "focusin", function() {
3232
$( this ).find( "span" ).css( "display", "inline" ).fadeOut( 1000 );
3333
} );
34-
]]></code>
34+
]]></code>
3535
<html><![CDATA[
3636
<p><input type="text"> <span>focusin fire</span></p>
3737
<p><input type="password"> <span>focusin fire</span></p>
38-
]]></html>
38+
]]></html>
3939
</example>
4040
<category slug="events/form-events"/>
4141
<category slug="forms"/>

entries/focusout.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
.inputs p {
3232
margin-top: 0;
3333
}
34-
]]></css>
34+
]]></css>
3535
<code><![CDATA[
3636
var focusout = 0,
3737
blur = 0;
@@ -44,7 +44,7 @@ $( "p" )
4444
blur++;
4545
$( "#blur-count" ).text( "blur fired: " + blur + "x" );
4646
} );
47-
]]></code>
47+
]]></code>
4848
<html><![CDATA[
4949
<div class="inputs">
5050
<p>
@@ -57,7 +57,7 @@ $( "p" )
5757
</div>
5858
<div id="focus-count">focusout fire</div>
5959
<div id="blur-count">blur fire</div>
60-
]]></html>
60+
]]></html>
6161
</example>
6262
<category slug="events/form-events"/>
6363
<category slug="forms"/>

0 commit comments

Comments
 (0)