Make WordPress Core

Changeset 36229


Ignore:
Timestamp:
01/09/2016 12:04:57 AM (6 years ago)
Author:
ericlewis
Message:

Add documentation for parseData() and ajaxDel() in wp-lists.js.

Fixes #35360.

File:
1 edited

Legend:

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

    r27759 r36229  
    2323    },
    2424
     25    /**
     26     * Extract list item data from a DOM element.
     27     *
     28     * @param  {HTMLElement} e The DOM element.
     29     * @param  {string}      t
     30     * @return {array}
     31     */
    2532    parseData: function(e,t) {
    2633        var d = [], wpListsData;
     
    146153    },
    147154
     155    /**
     156     * Delete an item in the list via AJAX.
     157     *
     158     * @param  {HTMLElement} e A DOM element containing item data.
     159     * @param  {Object}      s
     160     * @return {boolean}
     161     */
    148162    ajaxDel: function( e, s ) {
    149163        e = $(e);
Note: See TracChangeset for help on using the changeset viewer.