1(function($) { 2 /** 3 * Send an AJAX request to WPMM action 4 * @param {string} name The name of the action 5 * @param {object} args The list of arguments for the action 6 * @param {object} settings The AJAX request settings (passed to $.ajax) 7 * @return {jqXHR} 8 */ 9 $.wpmm_ajax_action = function(name, args, settings) { 10 if(typeof(data) !== 'object') { 11 data = {}; 12 } 13 14 if(typeof(settings) !== 'object') { 15 settings = {}; 16 } 17 18 data.action = '_wpmm_' + name; 19 data.ajax_arguments = args; 20 21 return $.ajax(AJAXURL, $.extend({ 22 method: 'POST', 23 cache: false, 24 data: data, 25 dataType: 'json' 26 }, settings, true)); 27 }; 28}(jQuery));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.