SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-content > > plugins > wp-optimize > > js >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-content//plugins/wp-optimize//js/

NameTypeSizeLast ModifiedActions
handlebars Directory - -
jszip Directory - -
serialize-json Directory - -
sortable Directory - -
blockUI-4-2-3.min.js File 627 bytes July 17 2025 21:05:49.
blockUI.js File 1251 bytes July 17 2025 21:05:49.
cache-4-2-3.min.js File 8235 bytes July 17 2025 21:05:49.
cache.js File 15614 bytes July 17 2025 21:05:49.
delay-js-4-2-3.min.js File 1188 bytes July 17 2025 21:05:49.
delay-js.js File 5519 bytes July 17 2025 21:05:49.
heartbeat-4-2-3.min.js File 2848 bytes July 17 2025 21:05:49.
heartbeat.js File 7703 bytes July 17 2025 21:05:49.
loadAsync-4-2-3.min.js File 304 bytes July 17 2025 21:05:49.
loadAsync.js File 670 bytes July 17 2025 21:05:49.
loadCSS-4-2-3.min.js File 818 bytes July 17 2025 21:05:49.
loadCSS.js File 3119 bytes July 17 2025 21:05:49.
minify-4-2-3.min.js File 12171 bytes July 17 2025 21:05:49.
minify.js File 21249 bytes July 17 2025 21:05:49.
modal-4-2-3.min.js File 922 bytes July 17 2025 21:05:49.
modal.js File 1837 bytes July 17 2025 21:05:49.
queue-4-2-3.min.js File 617 bytes July 17 2025 21:05:49.
queue.js File 3397 bytes July 17 2025 21:05:49.
send-command-4-2-3.min.js File 2641 bytes July 17 2025 21:05:49.
send-command.js File 6019 bytes July 17 2025 21:05:49.
status-4-2-3.min.js File 3609 bytes July 17 2025 21:05:49.
status.js File 6977 bytes July 17 2025 21:05:49.
wpo-images-view-4-2-3.min.js File 7510 bytes July 17 2025 21:05:49.
wpo-images-view.js File 15954 bytes July 17 2025 21:05:49.
wpoadmin-4-2-3.min.js File 38117 bytes July 17 2025 21:05:49.
wpoadmin.js File 77277 bytes July 17 2025 21:05:49.
wposmush-4-2-3.min.js File 23488 bytes July 17 2025 21:05:49.
wposmush.js File 46594 bytes July 17 2025 21:05:49.

Reading File: /home/transcarter/public_html/wp-content//plugins/wp-optimize//js//modal.js

/*
How to use the modal

wp_optimize.modal.open({
	className: 'a-class', // A class name, added to the main modal container
	events: {}, // An object containing the events added to the modal. See Backbonejs View events syntax.
	content: function() {
		return ''; // the Content method returns html or jQuery objects which will be added to the content area of the modal
	},
	... // Other methods used by the custom events
})
*/

var wp_optimize = window.wp_optimize || {};

(function($, wp) {
	'use strict';
	var modal = {};
	modal.views = {};

	/**
	 * Main modal View
	 */
	modal.views.modal = Backbone.View.extend({
		tagName: 'div',
		template: wp.template('wpo-modal'),
		/**
		 * Extend default values
		 */
		preinitialize: function() {
			this.events = _.extend(this.events || {}, {
				'click .wpo-modal--close': 'close'
			});
			this.className = this.className ? 'wpo-modal--container ' + this.className : 'wpo-modal--container ';
		},
		render: function() {
			this.$el.append(this.template());
			this.trigger('rendered');
		},
		initialize: function() {
			this.trigger('initialize');
			this.render();
			this.$content = this.$el.find('.wpo-modal--content');
			// Append the content area with the content provided by the child object
			if ('function' === typeof this.content) {
				this.$content.append(this.content());
			}
		},
		close: function() {
			$('body').removeClass('wpo-modal-is-opened');
			this.remove();
		}
	});

	/**
	 * Public method to create and open the modal
	 */
	modal.open = function(options) {
		var view_options = _.extend(options || {}, {});
		var modalView = modal.views.modal.extend(view_options);
		var m = new modalView();
		m.$el.appendTo('body');
		m.$('.wpo-modal').focus();
		$('body').addClass('wpo-modal-is-opened');
		return m;
	}

	wp_optimize.modal = modal;
})(jQuery, window.wp);

SILENT KILLER Tool