X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-inc/js
var
/
softaculous
/
sitepad
/
editor
/
site-inc
/
js
/
ðŸ“
..
📄
api-request.js
(2.59 KB)
📄
api-request.min.js
(771 B)
📄
autosave.js
(20.83 KB)
📄
autosave.min.js
(5.51 KB)
📄
backbone.js
(70.54 KB)
📄
backbone.min.js
(21.94 KB)
ðŸ“
codemirror
📄
colorpicker.js
(28.4 KB)
📄
colorpicker.min.js
(16.28 KB)
📄
comment-reply.js
(9.84 KB)
📄
comment-reply.min.js
(2.18 KB)
ðŸ“
crop
📄
customize-base.js
(25.08 KB)
📄
customize-base.min.js
(7.77 KB)
📄
customize-loader.js
(7.71 KB)
📄
customize-loader.min.js
(3.44 KB)
📄
customize-models.js
(6.66 KB)
📄
customize-models.min.js
(3.6 KB)
📄
customize-preview-nav-menus.js
(14.67 KB)
📄
customize-preview-nav-menus.min.js
(4.93 KB)
📄
customize-preview-widgets.js
(22.61 KB)
📄
customize-preview-widgets.min.js
(7.71 KB)
📄
customize-preview.js
(27.31 KB)
📄
customize-preview.min.js
(10.65 KB)
📄
customize-selective-refresh.js
(32.54 KB)
📄
customize-selective-refresh.min.js
(10.56 KB)
📄
customize-views.js
(4.95 KB)
📄
customize-views.min.js
(2.37 KB)
ðŸ“
dist
📄
heartbeat.js
(22.62 KB)
📄
heartbeat.min.js
(5.88 KB)
📄
hoverIntent.js
(4.83 KB)
📄
hoverIntent.min.js
(1.09 KB)
📄
imagesloaded.min.js
(7.92 KB)
ðŸ“
imgareaselect
ðŸ“
jcrop
ðŸ“
jquery
📄
json2.js
(17.99 KB)
📄
json2.min.js
(3.06 KB)
📄
masonry.min.js
(28.27 KB)
📄
mce-view.js
(25.16 KB)
📄
mce-view.min.js
(9.52 KB)
📄
media-audiovideo.js
(26.83 KB)
📄
media-audiovideo.min.js
(12.56 KB)
📄
media-editor.js
(28.25 KB)
📄
media-editor.min.js
(10.65 KB)
📄
media-grid.js
(28.4 KB)
📄
media-grid.min.js
(13.82 KB)
📄
media-models.js
(44.35 KB)
📄
media-models.min.js
(13.72 KB)
📄
media-views.js
(242.3 KB)
📄
media-views.min.js
(98.9 KB)
ðŸ“
mediaelement
ðŸ“
plupload
📄
quicktags.js
(22.05 KB)
📄
quicktags.min.js
(11.02 KB)
📄
shortcode.js
(10.31 KB)
📄
shortcode.min.js
(2.55 KB)
📄
swfobject.js
(9.99 KB)
ðŸ“
swfupload
ðŸ“
thickbox
ðŸ“
tinymce
📄
tw-sack.js
(4.85 KB)
📄
tw-sack.min.js
(3.21 KB)
📄
twemoji.js
(25.21 KB)
📄
twemoji.min.js
(8.91 KB)
📄
underscore.js
(51.68 KB)
📄
underscore.min.js
(15.8 KB)
📄
utils.js
(4.54 KB)
📄
utils.min.js
(1.82 KB)
📄
wp-a11y.js
(2.56 KB)
📄
wp-a11y.min.js
(653 B)
📄
wp-ajax-response.js
(3.12 KB)
📄
wp-ajax-response.min.js
(2.02 KB)
📄
wp-api.js
(45.65 KB)
📄
wp-api.min.js
(14.34 KB)
📄
wp-auth-check.js
(4.27 KB)
📄
wp-auth-check.min.js
(1.74 KB)
📄
wp-backbone.js
(14.88 KB)
📄
wp-backbone.min.js
(2.95 KB)
📄
wp-custom-header.js
(10.2 KB)
📄
wp-custom-header.min.js
(4.36 KB)
📄
wp-embed-template.js
(6.1 KB)
📄
wp-embed-template.min.js
(3.04 KB)
📄
wp-embed.js
(3.14 KB)
📄
wp-embed.min.js
(1.37 KB)
📄
wp-emoji-loader.js
(5.75 KB)
📄
wp-emoji-loader.min.js
(1.74 KB)
📄
wp-emoji-release.min.js
(11.75 KB)
📄
wp-emoji.js
(8.7 KB)
📄
wp-emoji.min.js
(2.76 KB)
📄
wp-list-revisions.js
(967 B)
📄
wp-list-revisions.min.js
(569 B)
📄
wp-lists.js
(24.69 KB)
📄
wp-lists.min.js
(7.24 KB)
📄
wp-pointer.js
(10.06 KB)
📄
wp-pointer.min.js
(3.55 KB)
📄
wp-sanitize.js
(1.02 KB)
📄
wp-sanitize.min.js
(397 B)
📄
wp-util.js
(3.87 KB)
📄
wp-util.min.js
(1.02 KB)
📄
wpdialog.js
(557 B)
📄
wpdialog.min.js
(237 B)
📄
wplink.js
(20.47 KB)
📄
wplink.min.js
(11 KB)
📄
zxcvbn-async.js
(818 B)
📄
zxcvbn-async.min.js
(324 B)
📄
zxcvbn.min.js
(802.93 KB)
Editing: wp-util.js
/** * @output site-inc/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 ) { compiled = compiled || _.template( $( '#tmpl-' + id ).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));
Upload File
Create Folder