{:uriI"file:///Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/wysiwyg-rails-1.2.8/app/assets/javascripts/plugins/fullscreen.min.js?type=application/javascript&pipeline=self&id=bc5fc6b726e64ba7c659689ecd261bf356c1a45ed1db5fb05540a9a24c20bb7c:ET:load_pathI"`/Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/wysiwyg-rails-1.2.8/app/assets/javascripts;T: filenameI"z/Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/wysiwyg-rails-1.2.8/app/assets/javascripts/plugins/fullscreen.min.js;T: nameI"plugins/fullscreen.min;T:logical_pathI"#plugins/fullscreen.min.self.js;T:content_typeI"application/javascript;T: sourceI"/*! * froala_editor v1.2.8 (https://www.froala.com/wysiwyg-editor) * License https://www.froala.com/wysiwyg-editor/terms * Copyright 2014-2015 Froala Labs */ !function(a){a.Editable.prototype.refreshFullscreen=function(){this.$box.hasClass("fr-fullscreen")?this.$editor.find('[data-cmd="fullscreen"]').addClass("active"):this.$editor.find('[data-cmd="fullscreen"]').removeClass("active")},a.Editable.commands=a.extend(a.Editable.commands,{fullscreen:{icon:"fa fa-expand",title:"Fullscreen",callback:function(){if(this.$box.toggleClass("fr-fullscreen"),a("body").toggleClass("fr-fullscreen"),this.$editor.find('[data-cmd="fullscreen"] i').toggleClass("fa-expand fa-compress"),this.refreshFullscreen(),this.$box.hasClass("fr-fullscreen"))this.$fullscreen_marker=a("
"),this.$box.after(this.$fullscreen_marker),this.$box.appendTo("body"),this.computeElementHeight();else{this.$wrapper.css("height",""),this.$element.css("minHeight",""),this.setDimensions(),this.options.scrollableContainer=this.oldScrollableContainer;var b=this.$document.find(this.options.scrollableContainer);b.append(this.$popup_editor),this.$fullscreen_marker.replaceWith(this.$box)}},refresh:a.Editable.prototype.refreshFullscreen}}),a.Editable.prototype.computeElementHeight=function(){var a=this.$window.height()-this.$editor.outerHeight()-parseFloat(this.$wrapper.css("padding-top"),10)-parseFloat(this.$wrapper.css("padding-bottom"),10)-parseFloat((this.$wrapper||this.$element).css("border-top-width"),10)-parseFloat((this.$wrapper||this.$element).css("border-bottom-width"),10)+2;this.$wrapper.css("height",a),this.$element.css("minHeight",a-parseInt(this.$element.css("padding-top"),10)-parseInt(this.$element.css("padding-bottom"),10)),this.$element.css("maxHeight",""),this.$wrapper.css("maxHeight",""),this.oldScrollableContainer=this.options.scrollableContainer,this.options.scrollableContainer=this.$wrapper,this.$wrapper.append(this.$popup_editor)},a.Editable.prototype.initFullscreen=function(){this.$window.on("resize",a.proxy(function(){this.$box.hasClass("fr-fullscreen")&&this.computeElementHeight()},this))},a.Editable.initializers.push(a.Editable.prototype.initFullscreen)}(jQuery); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/wysiwyg-rails-1.2.8/app/assets/javascripts/plugins/fullscreen.min.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%ai-v9\2ҰL#[,YpG]: lengthi:dependencies_digest"%LyL(c?c`q/C8:idI"Ebc5fc6b726e64ba7c659689ecd261bf356c1a45ed1db5fb05540a9a24c20bb7c;F: mtimel+U