Make WordPress Core

Ticket #30193: 30193.diff

File 30193.diff, 1.4 KB (added by ericlewis, 10 years ago)
  • src/wp-includes/js/media-views.js

    diff --git src/wp-includes/js/media-views.js src/wp-includes/js/media-views.js
    index 3d8d9d7..fd33330 100644
     
    22262226         *
    22272227         * Type of media frame that is used to select an item or items from the media library
    22282228         *
    2229          * @constructor
     2229         * @class
    22302230         * @augments wp.media.view.MediaFrame
    22312231         * @augments wp.media.view.Frame
    22322232         * @augments wp.media.View
    22332233         * @augments wp.Backbone.View
    22342234         * @augments Backbone.View
    22352235         * @mixes wp.media.controller.StateMachine
     2236         *
     2237         * @since 3.5.0
     2238         *
     2239         * @param {object}                   [options]                The options hash passed to the frame.
     2240         * @param {wp.media.model.Selection} [options.selection]      A selection collection to attach to the frame.
     2241         * @param {boolean}                  [options.multiple=false] Whether multiple attachments can be selected.
     2242         * @param {array}                    [options.states]         Group of states to override the default states.
     2243         * @param {string}                   [options.state=library]  ID of the state to enable when the frame is initialized.
     2244         * @param {string}                   options.title            Title for the frame.
     2245         * @param {object}                   [options.library]        Properties to send to the Attachments collection constructor.
    22362246         */
    22372247        media.view.MediaFrame.Select = media.view.MediaFrame.extend({
    22382248                initialize: function() {