mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
adding basic documentation for the admin javascript file
this may eventually be removed and placed into the boilerplate's documentation on the official website, but until that exists, it will remain here.
This commit is contained in:
parent
5666bb7ddc
commit
deadcc668b
1 changed files with 24 additions and 0 deletions
|
@ -1,4 +1,28 @@
|
|||
(function( $ ) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @TODO
|
||||
*
|
||||
* All of the code for your Dashboard-specific 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 );
|
Loading…
Reference in a new issue