mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
adding whitespace and additional instructions
This commit is contained in:
parent
c10b371d67
commit
af315d7145
1 changed files with 6 additions and 0 deletions
|
@ -13,14 +13,20 @@
|
||||||
* ready:
|
* ready:
|
||||||
*
|
*
|
||||||
* $(function() {
|
* $(function() {
|
||||||
|
*
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* Or when the window is completely ready:
|
* Or when the window is completely ready:
|
||||||
*
|
*
|
||||||
* $( window ).load(function() {
|
* $( window ).load(function() {
|
||||||
|
*
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* ...and so on.
|
* ...and so on.
|
||||||
|
*
|
||||||
|
* Remember that ideally, we should not attach anymore than a single DOM-ready or window-load handler
|
||||||
|
* for any particular page. Though other scripts in WordPress core, other plugins, and other themes may
|
||||||
|
* be doing this, we should try to minimize doing that in our own work.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
})( jQuery );
|
})( jQuery );
|
Loading…
Reference in a new issue