2014-04-09 23:10:27 +03:00
|
|
|
(function( $ ) {
|
|
|
|
'use strict';
|
|
|
|
|
2014-05-01 05:33:06 +03:00
|
|
|
/**
|
|
|
|
* 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() {
|
2014-05-03 22:06:50 +03:00
|
|
|
*
|
2014-05-01 05:33:06 +03:00
|
|
|
* });
|
|
|
|
*
|
|
|
|
* Or when the window is completely ready:
|
|
|
|
*
|
|
|
|
* $( window ).load(function() {
|
2014-05-03 22:06:50 +03:00
|
|
|
*
|
2014-05-01 05:33:06 +03:00
|
|
|
* });
|
|
|
|
*
|
|
|
|
* ...and so on.
|
2014-05-03 22:06:50 +03:00
|
|
|
*
|
|
|
|
* 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.
|
2014-05-01 05:33:06 +03:00
|
|
|
*/
|
|
|
|
|
2014-04-09 23:10:27 +03:00
|
|
|
})( jQuery );
|