wp/wp-includes/js/plupload/wp-plupload.js
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
8:c7c34916027a 9:177826044cd9
     1 /* global pluploadL10n, plupload, _wpPluploadSettings */
     1 /* global pluploadL10n, plupload, _wpPluploadSettings */
     2 
     2 
       
     3 /**
       
     4  * @namespace wp
       
     5  */
     3 window.wp = window.wp || {};
     6 window.wp = window.wp || {};
     4 
     7 
     5 ( function( exports, $ ) {
     8 ( function( exports, $ ) {
     6 	var Uploader;
     9 	var Uploader;
     7 
    10 
    13 	 * A WordPress uploader.
    16 	 * A WordPress uploader.
    14 	 *
    17 	 *
    15 	 * The Plupload library provides cross-browser uploader UI integration.
    18 	 * The Plupload library provides cross-browser uploader UI integration.
    16 	 * This object bridges the Plupload API to integrate uploads into the
    19 	 * This object bridges the Plupload API to integrate uploads into the
    17 	 * WordPress back end and the WordPress media experience.
    20 	 * WordPress back end and the WordPress media experience.
       
    21 	 *
       
    22 	 * @class
       
    23 	 * @memberOf wp
       
    24 	 * @alias wp.Uploader
    18 	 *
    25 	 *
    19 	 * @param {object} options           The options passed to the new plupload instance.
    26 	 * @param {object} options           The options passed to the new plupload instance.
    20 	 * @param {object} options.container The id of uploader container.
    27 	 * @param {object} options.container The id of uploader container.
    21 	 * @param {object} options.browser   The id of button to trigger the file select.
    28 	 * @param {object} options.browser   The id of button to trigger the file select.
    22 	 * @param {object} options.dropzone  The id of file drop target.
    29 	 * @param {object} options.dropzone  The id of file drop target.