mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
adding simple public-facing code comments
This commit is contained in:
parent
98b6bf3f65
commit
6271822cb1
1 changed files with 24 additions and 0 deletions
|
@ -1,4 +1,28 @@
|
||||||
(function( $ ) {
|
(function( $ ) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @TODO
|
||||||
|
*
|
||||||
|
* All of the code for your public-facing JavaScript source
|
||||||
|
* should reside in this file.
|
||||||
|
*
|
||||||
|
* Note that this assume you're going to user jQuery, so it prepares
|
||||||
|
* the $ function reference to be used within the scope of this
|
||||||
|
* function.
|
||||||
|
*
|
||||||
|
* From here, you're able to define handlers for when the DOM is
|
||||||
|
* ready:
|
||||||
|
*
|
||||||
|
* $(function() {
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* Or when the window is completely ready:
|
||||||
|
*
|
||||||
|
* $( window ).load(function() {
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* ...and so on.
|
||||||
|
*/
|
||||||
|
|
||||||
})( jQuery );
|
})( jQuery );
|
Loading…
Reference in a new issue