Make WordPress Core

Changeset 30234


Ignore:
Timestamp:
11/04/2014 08:47:17 PM (10 years ago)
Author:
wonderboymusic
Message:

Add some docs to wp.media.view.EditorUploader.

Props ericlewis.
See #29951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-views.js

    r30125 r30234  
    38813881
    38823882    /**
     3883     * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap
     3884     * or #wp-fullscreen-body) and relays drag'n'dropped files to a media workflow.
     3885     *
    38833886     * wp.media.view.EditorUploader
    38843887     *
     
    38983901        draggingFile: null,
    38993902
     3903        /**
     3904         * Bind drag'n'drop events to callbacks.
     3905         */
    39003906        initialize: function() {
    39013907            var self = this;
     
    39283934        },
    39293935
     3936        /**
     3937         * Check browser support for drag'n'drop.
     3938         *
     3939         * @return Boolean
     3940         */
    39303941        browserSupport: function() {
    39313942            var supports = false, div = document.createElement('div');
Note: See TracChangeset for help on using the changeset viewer.