Skip to content

Commit 3f60ffb

Browse files
author
Rebecca Murphey
committed
cleanup
1 parent 46e461c commit 3f60ffb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/code-organization/concepts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Using an object literal for a jQuery feature
174174
</div>
175175

176176
The first thing you'll notice is that this approach is obviously far longer
177-
than the original again, if this were the extent of our application, using an
177+
than the original -- again, if this were the extent of our application, using an
178178
object literal would likely be overkill. Assuming it's not the extent of our
179179
application, though, we've gained several things:
180180

@@ -188,10 +188,10 @@ application, though, we've gained several things:
188188
refactor, remix, and rearrange.
189189

190190
For non-trivial features, object literals are a clear improvement over a long
191-
stretch of code stuffed in a $(document).ready() block, as they get us thinking
192-
about the pieces of our functionality. However, they aren't a whole lot more
193-
advanced than simply having a bunch of function declarations inside of that
194-
$(document).ready() block.
191+
stretch of code stuffed in a `$(document).ready()` block, as they get us
192+
thinking about the pieces of our functionality. However, they aren't a whole
193+
lot more advanced than simply having a bunch of function declarations inside of
194+
that `$(document).ready()` block.
195195

196196
### The Module Pattern
197197

0 commit comments

Comments
 (0)