Updating minified JavaScript files
authorwoltlab.com <woltlab@woltlab.com>
Mon, 29 Aug 2016 07:32:21 +0000 (09:32 +0200)
committerwoltlab.com <woltlab@woltlab.com>
Mon, 29 Aug 2016 07:32:21 +0000 (09:32 +0200)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js

index cfaa492588e99828511f0a7b01097679aaff763d..75a2a64a66702d87bf014ba33406019843b6282b 100644 (file)
@@ -51,7 +51,7 @@ $.Redactor.prototype.WoltLabPaste=function(){"use strict";return{init:function()
 // WoltLabQuote.js
 $.Redactor.prototype.WoltLabQuote=function(){"use strict";return{init:function(){var t=this.button.add("woltlabQuote","");this.WoltLabBlock.register("woltlab-quote",!0),this.opts.replaceTags.blockquote="woltlab-quote",this.opts.activeButtonsStates["woltlab-quote"]="woltlabQuote",require(["WoltLabSuite/Core/Ui/Redactor/Quote"],function(o){new o(this,t)}.bind(this))}}};
 // WoltLabReply.js
-$.Redactor.prototype.WoltLabReply=function(){"use strict";var e=null,t=null,s=null;return{init:function(){var i=this.$editor[0].closest(".messageContent"),o=elById("messageQuickReply");i&&i.classList.contains("messageQuickReplyContent")&&o&&o.classList.contains("messageQuickReplyCollapsed")&&(e=this.WoltLabReply._click.bind(this),t=i,s=o,WCF.System.Event.addListener("com.woltlab.wcf.redactor2","showEditor",this.WoltLabReply.showEditor.bind(this)),t.addEventListener(WCF_CLICK_EVENT,e))},showEditor:function(){s.classList.contains("messageQuickReplyCollapsed")&&(s.classList.remove("messageQuickReplyCollapsed"),t.removeEventListener(WCF_CLICK_EVENT,e),this.WoltLabCaret.endOfEditor())},_click:function(e){e.preventDefault(),WCF.System.Event.fireEvent("com.woltlab.wcf.redactor2","showEditor")}}};
+$.Redactor.prototype.WoltLabReply=function(){"use strict";var t=null,e=null,s=null;return{init:function(){var i=this.$editor[0].closest(".messageContent"),o=elById("messageQuickReply");i&&i.classList.contains("messageQuickReplyContent")&&o&&o.classList.contains("messageQuickReplyCollapsed")&&(t=this.WoltLabReply._click.bind(this),e=i,s=o,WCF.System.Event.addListener("com.woltlab.wcf.redactor2","showEditor",this.WoltLabReply.showEditor.bind(this)),e.addEventListener(WCF_CLICK_EVENT,t))},showEditor:function(){return s?void(s.classList.contains("messageQuickReplyCollapsed")&&(s.classList.remove("messageQuickReplyCollapsed"),e.removeEventListener(WCF_CLICK_EVENT,t),this.WoltLabCaret.endOfEditor())):void this.WoltLabCaret.endOfEditor()},_click:function(t){t.preventDefault(),WCF.System.Event.fireEvent("com.woltlab.wcf.redactor2","showEditor")}}};
 // WoltLabSize.js
 $.Redactor.prototype.WoltLabSize=function(){"use strict";return{init:function(){for(var t,e=[8,10,12,14,18,24,36],i=this.WoltLabSize.setSize.bind(this),o={},a=0,r=e.length;r>a;a++)t=e[a],o["size_"+t]={title:t,func:i};o.removeSize={title:this.lang.get("remove-size"),func:this.WoltLabSize.removeSize.bind(this)};var s=this.button.add("woltlabSize","");this.button.addDropdown(s,o),s.data("dropdown").find("a").each(function(t,e){e.className.match(/redactor-dropdown-size_(\d{1,2})/)&&(e.parentNode.classList.add("woltlab-size-"+RegExp.$1),e.parentNode.classList.add("woltlab-size-selection"))})},setSize:function(t){require(["WoltLabSuite/Core/Ui/Redactor/Format"],function(e){this.buffer.set(),e.format(this.$editor[0],"woltlab-size","woltlab-size-"+t.replace(/^size_/,""))}.bind(this))},removeSize:function(){require(["WoltLabSuite/Core/Ui/Redactor/Format"],function(t){this.buffer.set(),t.removeFormat(this.$editor[0],"woltlab-size")}.bind(this))}}};
 // WoltLabSmiley.js