File Manager Lite
Dir:
/home/atomylvb/jarangomd.com/old/wp-includes/js
Upload
[..]
admin-bar.min.js (3.41 KB)
Edit
Rename
Del
autosave.js (21.95 KB)
Edit
Rename
Del
autosave.min.js (5.67 KB)
Edit
Rename
Del
backbone.min.js (23.73 KB)
Edit
Rename
Del
clipboard.js (26.18 KB)
Edit
Rename
Del
clipboard.min.js (8.8 KB)
Edit
Rename
Del
codemirror/
Rename
Del
colorpicker.js (28.4 KB)
Edit
Rename
Del
colorpicker.min.js (16.11 KB)
Edit
Rename
Del
comment-reply.min.js (2.96 KB)
Edit
Rename
Del
crop/
Rename
Del
customize-base.min.js (7.67 KB)
Edit
Rename
Del
customize-loader.js (7.72 KB)
Edit
Rename
Del
customize-models.min.js (3.59 KB)
Edit
Rename
Del
customize-preview-nav-menus.js (14.67 KB)
Edit
Rename
Del
customize-preview-nav-menus.min.js (4.92 KB)
Edit
Rename
Del
customize-preview-widgets.min.js (7.64 KB)
Edit
Rename
Del
customize-preview.js (27.93 KB)
Edit
Rename
Del
customize-preview.min.js (10.75 KB)
Edit
Rename
Del
customize-views.js (5.1 KB)
Edit
Rename
Del
customize-views.min.js (2.51 KB)
Edit
Rename
Del
dist/
Rename
Del
heartbeat.js (23.49 KB)
Edit
Rename
Del
heartbeat.min.js (5.81 KB)
Edit
Rename
Del
hoverIntent.js (7.06 KB)
Edit
Rename
Del
imagesloaded.min.js (5.39 KB)
Edit
Rename
Del
imgareaselect/
Rename
Del
jcrop/
Rename
Del
jquery/
Rename
Del
json2.min.js (35 B)
Edit
Rename
Del
mce-view.js (25.24 KB)
Edit
Rename
Del
mce-view.min.js (9.54 KB)
Edit
Rename
Del
media-audiovideo.js (24.24 KB)
Edit
Rename
Del
media-audiovideo.min.js (11.77 KB)
Edit
Rename
Del
media-editor.js (28.44 KB)
Edit
Rename
Del
media-editor.min.js (10.63 KB)
Edit
Rename
Del
media-grid.js (26.15 KB)
Edit
Rename
Del
media-grid.min.js (12.98 KB)
Edit
Rename
Del
media-models.min.js (12.97 KB)
Edit
Rename
Del
media-views.js (266.99 KB)
Edit
Rename
Del
media-views.min.js (108.18 KB)
Edit
Rename
Del
mediaelement/
Rename
Del
plupload/
Rename
Del
quicktags.js (22.07 KB)
Edit
Rename
Del
quicktags.min.js (10.87 KB)
Edit
Rename
Del
swfobject.min.js (35 B)
Edit
Rename
Del
swfupload/
Rename
Del
thickbox/
Rename
Del
tinymce/
Rename
Del
tw-sack.js (4.85 KB)
Edit
Rename
Del
tw-sack.min.js (3.21 KB)
Edit
Rename
Del
twemoji.js (36.32 KB)
Edit
Rename
Del
twemoji.min.js (19.39 KB)
Edit
Rename
Del
underscore.min.js (18.46 KB)
Edit
Rename
Del
wp-ajax-response.js (3.81 KB)
Edit
Rename
Del
wp-ajax-response.min.js (2.51 KB)
Edit
Rename
Del
wp-auth-check.js (4.11 KB)
Edit
Rename
Del
wp-auth-check.min.js (1.62 KB)
Edit
Rename
Del
wp-backbone.min.js (2.97 KB)
Edit
Rename
Del
wp-custom-header.min.js (4.34 KB)
Edit
Rename
Del
wp-embed-template.min.js (3.1 KB)
Edit
Rename
Del
wp-embed.min.js (1.22 KB)
Edit
Rename
Del
wp-emoji-loader.js (12.89 KB)
Edit
Rename
Del
wp-emoji-loader.min.js (2.82 KB)
Edit
Rename
Del
wp-emoji-release.min.js (22.23 KB)
Edit
Rename
Del
wp-emoji.js (8.59 KB)
Edit
Rename
Del
wp-emoji.min.js (2.79 KB)
Edit
Rename
Del
wp-list-revisions.js (970 B)
Edit
Rename
Del
wp-list-revisions.min.js (597 B)
Edit
Rename
Del
wp-lists.js (24.72 KB)
Edit
Rename
Del
wp-lists.min.js (7.34 KB)
Edit
Rename
Del
wp-pointer.js (9.99 KB)
Edit
Rename
Del
wp-pointer.min.js (3.54 KB)
Edit
Rename
Del
wp-sanitize.js (1.3 KB)
Edit
Rename
Del
wp-sanitize.min.js (444 B)
Edit
Rename
Del
wp-util.js (4.58 KB)
Edit
Rename
Del
wp-util.min.js (1.4 KB)
Edit
Rename
Del
wpdialog.js (569 B)
Edit
Rename
Del
wpdialog.min.js (281 B)
Edit
Rename
Del
wplink.js (20.74 KB)
Edit
Rename
Del
wplink.min.js (11.05 KB)
Edit
Rename
Del
zxcvbn-async.js (821 B)
Edit
Rename
Del
zxcvbn-async.min.js (351 B)
Edit
Rename
Del
zxcvbn.min.js (802.97 KB)
Edit
Rename
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 ) ) { // When handling a media attachments request, get the total attachments from response headers. var context = this; deferred.done( function() { if ( action && action.data && 'query-attachments' === action.data.action && deferred.jqXHR.hasOwnProperty( 'getResponseHeader' ) && deferred.jqXHR.getResponseHeader( 'X-WP-Total' ) ) { context.totalAttachments = parseInt( deferred.jqXHR.getResponseHeader( 'X-WP-Total' ), 10 ); } else { context.totalAttachments = 0; } } ); 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));
Simpan