X7ROOT File Manager
Current Path:
/home/okeydcqc/okeyanueyiagu.com/wp-content/plugins/wp-optimize/js
home
/
okeydcqc
/
okeyanueyiagu.com
/
wp-content
/
plugins
/
wp-optimize
/
js
/
ðŸ“
..
📄
blockUI-4-2-2.min.js
(627 B)
📄
blockUI.js
(1.22 KB)
📄
cache-4-2-2.min.js
(8.04 KB)
📄
cache.js
(15.25 KB)
📄
delay-js-4-2-2.min.js
(1.16 KB)
📄
delay-js.js
(5.39 KB)
ðŸ“
handlebars
📄
heartbeat-4-2-2.min.js
(2.78 KB)
📄
heartbeat.js
(7.52 KB)
ðŸ“
jszip
📄
loadAsync-4-2-2.min.js
(304 B)
📄
loadAsync.js
(670 B)
📄
loadCSS-4-2-2.min.js
(818 B)
📄
loadCSS.js
(3.05 KB)
📄
minify-4-2-2.min.js
(11.89 KB)
📄
minify.js
(20.75 KB)
📄
modal-4-2-2.min.js
(922 B)
📄
modal.js
(1.79 KB)
📄
queue-4-2-2.min.js
(617 B)
📄
queue.js
(3.32 KB)
📄
send-command-4-2-2.min.js
(2.58 KB)
📄
send-command.js
(5.88 KB)
ðŸ“
serialize-json
ðŸ“
sortable
📄
status-4-2-2.min.js
(3.52 KB)
📄
status.js
(6.81 KB)
📄
wpo-images-view-4-2-2.min.js
(7.33 KB)
📄
wpo-images-view.js
(15.58 KB)
📄
wpoadmin-4-2-2.min.js
(37.2 KB)
📄
wpoadmin.js
(75.49 KB)
📄
wposmush-4-2-2.min.js
(22.88 KB)
📄
wposmush.js
(45.44 KB)
Editing: 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);
Upload File
Create Folder