GOLDEN HOUR
DIR: /home/vlabbdco/public_html/wp-includes/js
UP
UPLOAD
Name
Size
Action
admin-bar.js
10.51 KB
DEL
admin-bar.min.js
3.47 KB
DEL
api-request.js
3.25 KB
DEL
api-request.min.js
1 KB
DEL
autosave.js
21.96 KB
DEL
autosave.min.js
5.68 KB
DEL
backbone.js
75.97 KB
DEL
backbone.min.js
23.26 KB
DEL
clipboard.js
28.8 KB
DEL
clipboard.min.js
10.17 KB
DEL
[ codemirror ]
-
DEL
colorpicker.js
28.4 KB
DEL
colorpicker.min.js
16.17 KB
DEL
comment-reply.js
12.17 KB
DEL
comment-reply.min.js
2.91 KB
DEL
[ crop ]
-
DEL
customize-base.js
25.16 KB
DEL
customize-base.min.js
7.67 KB
DEL
customize-loader.js
7.72 KB
DEL
customize-loader.min.js
3.47 KB
DEL
customize-models.js
6.66 KB
DEL
customize-models.min.js
3.61 KB
DEL
customize-preview-nav-menus.js
14.67 KB
DEL
customize-preview-nav-menus.min.js
4.92 KB
DEL
customize-preview-widgets.js
22.71 KB
DEL
customize-preview-widgets.min.js
7.64 KB
DEL
customize-preview.js
27.3 KB
DEL
customize-preview.min.js
10.51 KB
DEL
customize-selective-refresh.js
32.55 KB
DEL
customize-selective-refresh.min.js
10.44 KB
DEL
customize-views.js
4.95 KB
DEL
customize-views.min.js
2.39 KB
DEL
[ dist ]
-
DEL
heartbeat.js
22.61 KB
DEL
heartbeat.min.js
5.75 KB
DEL
hoverIntent.js
4.83 KB
DEL
hoverIntent.min.js
1.1 KB
DEL
hoverintent-js.min.js
1.68 KB
DEL
imagesloaded.min.js
5.5 KB
DEL
[ imgareaselect ]
-
DEL
[ jcrop ]
-
DEL
[ jquery ]
-
DEL
json2.js
17.99 KB
DEL
json2.min.js
3.08 KB
DEL
masonry.min.js
23.57 KB
DEL
mce-view.js
25.45 KB
DEL
mce-view.min.js
9.65 KB
DEL
media-audiovideo.js
26.91 KB
DEL
media-audiovideo.min.js
12.62 KB
DEL
media-editor.js
28.44 KB
DEL
media-editor.min.js
10.65 KB
DEL
media-grid.js
28.82 KB
DEL
media-grid.min.js
13.82 KB
DEL
media-models.js
44.4 KB
DEL
media-models.min.js
13.61 KB
DEL
media-views.js
261 KB
DEL
media-views.min.js
104.69 KB
DEL
[ mediaelement ]
-
DEL
[ plupload ]
-
DEL
quicktags.js
22.08 KB
DEL
quicktags.min.js
10.89 KB
DEL
shortcode.js
10.51 KB
DEL
shortcode.min.js
2.59 KB
DEL
swfobject.js
9.99 KB
DEL
[ swfupload ]
-
DEL
[ thickbox ]
-
DEL
[ tinymce ]
-
DEL
tw-sack.js
4.85 KB
DEL
tw-sack.min.js
3.22 KB
DEL
twemoji.js
27.35 KB
DEL
twemoji.min.js
11.04 KB
DEL
underscore.js
51.68 KB
DEL
underscore.min.js
15.67 KB
DEL
utils.js
4.56 KB
DEL
utils.min.js
1.82 KB
DEL
wp-ajax-response.js
3.13 KB
DEL
wp-ajax-response.min.js
2.04 KB
DEL
wp-api.js
45.88 KB
DEL
wp-api.min.js
14.34 KB
DEL
wp-auth-check.js
4.13 KB
DEL
wp-auth-check.min.js
1.63 KB
DEL
wp-backbone.js
14.88 KB
DEL
wp-backbone.min.js
2.97 KB
DEL
wp-custom-header.js
10.2 KB
DEL
wp-custom-header.min.js
4.34 KB
DEL
wp-embed-template.js
6.24 KB
DEL
wp-embed-template.min.js
3.08 KB
DEL
wp-embed.js
3.33 KB
DEL
wp-embed.min.js
1.44 KB
DEL
wp-emoji-loader.js
6.79 KB
DEL
wp-emoji-loader.min.js
1.81 KB
DEL
wp-emoji-release.min.js
13.9 KB
DEL
wp-emoji.js
8.78 KB
DEL
wp-emoji.min.js
2.81 KB
DEL
wp-list-revisions.js
970 B
DEL
wp-list-revisions.min.js
597 B
DEL
wp-lists.js
24.67 KB
DEL
wp-lists.min.js
7.23 KB
DEL
wp-pointer.js
10 KB
DEL
wp-pointer.min.js
3.54 KB
DEL
wp-sanitize.js
1.32 KB
DEL
wp-sanitize.min.js
458 B
DEL
wp-util.js
4.02 KB
DEL
wp-util.min.js
1.14 KB
DEL
wpdialog.js
560 B
DEL
wpdialog.min.js
272 B
DEL
wplink.js
20.58 KB
DEL
wplink.min.js
10.95 KB
DEL
zxcvbn-async.js
821 B
DEL
zxcvbn-async.min.js
351 B
DEL
zxcvbn.min.js
802.97 KB
DEL
Edit: wp-util.js
/** * @output wp-includes/js/wp-util.js */ /* global _wpUtilSettings */ /** @namespace wp */ window.wp = window.wp || {}; (function ($) { // Check for the utility settings. var settings = typeof _wpUtilSettings === 'undefined' ? {} : _wpUtilSettings; /** * wp.template( id ) * * Fetch a JavaScript template for an id, and return a templating function for it. * * @param {string} id A string that corresponds to a DOM element with an id prefixed with "tmpl-". * For example, "attachment" maps to "tmpl-attachment". * @return {function} A function that lazily-compiles the template requested. */ wp.template = _.memoize(function ( id ) { var compiled, /* * Underscore's default ERB-style templates are incompatible with PHP * when asp_tags is enabled, so WordPress uses Mustache-inspired templating syntax. * * @see trac ticket #22344. */ options = { evaluate: /<#([\s\S]+?)#>/g, interpolate: /\{\{\{([\s\S]+?)\}\}\}/g, escape: /\{\{([^\}]+?)\}\}(?!\})/g, variable: 'data' }; return function ( data ) { var el = document.querySelector( 'script#tmpl-' + id ); if ( ! el ) { throw new Error( 'Template not found: ' + '#tmpl-' + id ); } compiled = compiled || _.template( $( el ).html(), options ); return compiled( data ); }; }); /* * wp.ajax * ------ * * Tools for sending ajax requests with JSON responses and built in error handling. * Mirrors and wraps jQuery's ajax APIs. */ wp.ajax = { settings: settings.ajax || {}, /** * wp.ajax.post( [action], [data] ) * * Sends a POST request to WordPress. * * @param {(string|Object)} action The slug of the action to fire in WordPress or options passed * to jQuery.ajax. * @param {Object=} data Optional. The data to populate $_POST with. * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ post: function( action, data ) { return wp.ajax.send({ data: _.isObject( action ) ? action : _.extend( data || {}, { action: action }) }); }, /** * wp.ajax.send( [action], [options] ) * * Sends a POST request to WordPress. * * @param {(string|Object)} action The slug of the action to fire in WordPress or options passed * to jQuery.ajax. * @param {Object=} options Optional. The options passed to jQuery.ajax. * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ send: function( action, options ) { var promise, deferred; if ( _.isObject( action ) ) { options = action; } else { options = options || {}; options.data = _.extend( options.data || {}, { action: action }); } options = _.defaults( options || {}, { type: 'POST', url: wp.ajax.settings.url, context: this }); deferred = $.Deferred( function( deferred ) { // Transfer success/error callbacks. if ( options.success ) { deferred.done( options.success ); } if ( options.error ) { deferred.fail( options.error ); } delete options.success; delete options.error; // Use with PHP's wp_send_json_success() and wp_send_json_error(). deferred.jqXHR = $.ajax( options ).done( function( response ) { // Treat a response of 1 as successful for backward compatibility with existing handlers. if ( response === '1' || response === 1 ) { response = { success: true }; } if ( _.isObject( response ) && ! _.isUndefined( response.success ) ) { deferred[ response.success ? 'resolveWith' : 'rejectWith' ]( this, [response.data] ); } else { deferred.rejectWith( this, [response] ); } }).fail( function() { deferred.rejectWith( this, arguments ); }); }); promise = deferred.promise(); promise.abort = function() { deferred.jqXHR.abort(); return this; }; return promise; } }; }(jQuery));
SAVE FILE
TERMINAL
EXEC