PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
vafpress-framework
/
public
/
js
(function($){ function create(sg) { tinymce.create('tinymce.plugins.' + sg.name, { init: function(ed, url) { var cmd_cb = function(name) { return function() { $('#' + name + '_modal').reveal({ animation: 'none' }); $('#' + name + '_modal').css('top', parseInt($('#' + name + '_modal').css('top')) - window.scrollY); $('#' + name + '_modal').unbind('reveal:close.vp_sc'); $('#' + name + '_modal').bind('reveal:close.vp_sc', function () { $('.vp-sc-menu-item.active').find('.vp-sc-form').scReset().vp_slideUp(); $('.vp-sc-menu-item.active').removeClass('active'); }); $('#' + name + '_modal').unbind('vp_insert_shortcode.vp_tinymce'); $('#' + name + '_modal').bind('vp_insert_shortcode.vp_tinymce', function(event, code) { ed.selection.setContent(code); $(ed.getElement()).insertAtCaret(code); }); } } ed.addCommand(sg.name + '_cmd', cmd_cb(sg.name)); ed.addButton(sg.name, {title: sg.button_title, cmd: sg.name + '_cmd', image: sg.main_image}); }, getInfo: function() { return { longname: 'Vafpress Framework', author : 'Vafpress' }; } }); } for (var i = 0; i < vp_sg.length; i++){ create(vp_sg[i]); } })(jQuery); for (var i = 0; i < vp_sg.length; i++){ tinymce.PluginManager.add(vp_sg[i].name, tinymce.plugins[vp_sg[i].name]); }
[+]
..
[+]
vendor
[-] shortcode-quicktags.js
[edit]
[-] shared.js
[edit]
[-] shortcode-menu.js
[edit]
[-] metabox.js
[edit]
[-] metabox.min.js
[edit]
[-] option.min.js
[edit]
[-] option.js
[edit]
[-] shared.min.js
[edit]
[-] dummy.js
[edit]
[-] shortcodes.js
[edit]
[-] kia-metabox.js
[edit]