File Editor
Directories:
.. (Back)
Files:
checkbox.js
colorpicker.js
common.js
compatibility-warning.js
core.js
es6-promise.auto.min.js
eye.js
frame-helpers.js
functions-init.js
page-resource-fallback.js
page-resource-fallback.min.js
popper.min.js
portability.js
react-dom.production.min.js
react.production.min.js
recaptcha.js
support-center.js
tippy.min.js
version-rollback.js
wp-color-picker-alpha.min.js
Create New File
Create
Edit File: eye.js
/** * * Zoomimage * Author: Stefan Petre www.eyecon.ro * */ (function($){ var EYE = window.EYE = function() { var _registered = { init: [] }; return { init: function() { $.each(_registered.init, function(nr, fn){ fn.call(); }); }, extend: function(prop) { for (var i in prop) { if (prop[i] != undefined) { this[i] = prop[i]; } } }, register: function(fn, type) { if (!_registered[type]) { _registered[type] = []; } _registered[type].push(fn); } }; }(); $(EYE.init); })(jQuery); (function($){ var initLayout = function() { $('#colorpickerHolder').ColorPicker({flat: true}); $('.colorpopup').ColorPicker({ onSubmit: function(hsb, hex, rgb, el) { $(el).val(hex); $(el).ColorPickerHide(); }, onBeforeShow: function () { $(this).ColorPickerSetColor(this.value); } }) } EYE.register(initLayout, 'init'); })(jQuery);
Save Changes
Rename File
Rename