1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-23 12:23:54 +02:00
WordPress-Plugin-Boilerplate/plugin-name/trunk/admin/js/plugin-name-admin.js

33 lines
830 B
JavaScript
Raw Normal View History

(function( $ ) {
'use strict';
/**
* 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.
*
* 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-03 22:27:15 +03:00
})( jQuery );