o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1328854344.6663396: @value{I" class:EFI"BundledAsset; FI"id; F"%f08b35c66c4e302f72cd5f3e5baf7a7bI"logical_path; F"/imperavi-rails/imperavi/imperavi-iframe.jsI" pathname; F"k/home/tanraya/sandbox/imperavi-rails/app/assets/javascripts/imperavi-rails/imperavi/imperavi-iframe.jsI"content_type; FI"application/javascript; FI" mtime; FI"2012-02-09T17:51:58+06:00; FI" body; FI"Á(function( $ ) { $.fn.ImperaviIframe = function(textarea, o) { this.initialize(textarea, o) } $.fn.ImperaviIframe.prototype = { textarea : null, wrapper : null, el : null, initialize: function(textarea, o) { this.textarea = textarea this.o = o this.textarea.hide(); this.build() this.populate() this.enable(true) }, // Build Iframe object and stuff build: function() { this.wrapper = $(document.createElement('div')) .addClass('imperavi') .insertAfter(this.textarea) this.el = $(document.createElement('iframe')) .appendTo(this.wrapper) .css({ width : this.textarea.outerWidth(), height : this.textarea.outerHeight() }) }, populate: function() { html = '' html += '' //html += '' //html += '' html += '' + this.textarea.val() html += '' this.doc().open(); this.doc().write(html); this.doc().close(); }, enableObjects: function() { if (!$.browser.mozilla) return; //this.doc().execCommand('styleWithCSS', false, false) //this.doc().execCommand('enableObjectResizing', false, false) //this.doc().execCommand('enableInlineTableEditing', false, false) }, observe: function() { }, enable: function(status) { // Located here for Chrome support this.doc().designMode = status ? 'on' : 'off'; this.el.load($.proxy(function() { this.enableObjects(); this.observe(); }, this)); }, doc: function() { var i = this.el.get(0) if (i.contentDocument) return i.contentDocument if (i.contentWindow) return i.contentWindow.document return i.document } } })(jQuery); ; FI"asset_paths; F["k/home/tanraya/sandbox/imperavi-rails/app/assets/javascripts/imperavi-rails/imperavi/imperavi-iframe.jsI"dependency_paths; F[{I" path; F"k/home/tanraya/sandbox/imperavi-rails/app/assets/javascripts/imperavi-rails/imperavi/imperavi-iframe.jsI" mtime; FIu: Time +€,@¢Ï : @_zoneI" YEKT; T: nano_numi : nano_deni: submicro"g : offseti`TI"hexdigest; F"%9644c376ee6c2d65b4439b7207a5f2d7I" _version; F"%46dde6621c301f4928e3b34efee9e3b5