1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00

adding whitespace and additional instructions

This commit is contained in:
Tom McFarlin 2014-05-03 15:06:50 -04:00
parent c10b371d67
commit af315d7145

View file

@ -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 );