Explicitly describe $ as an alias for jQuery #681
Conversation
| @@ -53,6 +53,8 @@ $( document ).ready(function() { | |||
| }); | |||
| ``` | |||
|
|
|||
| <div class="warning">**Note**: The jQuery library exposes its methods and properties via two properties of the <code>window</code> object called <code>jQuery</code> and <code>$</code>. <code>$</code> is simply an alias for <code>jQuery</code> and it's often employed because it's shorter and faster to write.</div> | |||
arthurvr
Oct 26, 2015
Member
Why should this be in a class="warning" box? Might as well just have a normal paragraph about this. The warnings always give me the feeling something is a gotcha or something could go wrong, but in this case it's just a concept being introduced.
Why should this be in a class="warning" box? Might as well just have a normal paragraph about this. The warnings always give me the feeling something is a gotcha or something could go wrong, but in this case it's just a concept being introduced.
AurelioDeRosa
Oct 26, 2015
Author
Member
I feel it doesn't flow well with the rest of the discussion which has another focus, so I put it in a "aside" bar.
I feel it doesn't flow well with the rest of the discussion which has another focus, so I put it in a "aside" bar.
This comment has been minimized.
This comment has been minimized.
|
LGTM |
|
@AurelioDeRosa We could use either a normal note or a div class="note" which gives a blue box if I remember correctly. |
|
@agcolom This is more of a general comment but I've checked the |
|
@AurelioDeRosa I think you can land your PR :-) |
|
Thank you for the review @agcolom. I'm going to merge it now. |
Fixes gh-680