o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142255.901411: @value"ö {I" class:EFI"ProcessedAsset;FI"logical_path;FI"9locomotive/views/editable_elements/long_text_view.js;TI" pathname;FI"”/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-07T10:55:40+02:00;FI" length;FiHI" digest;F"%f05c121d6eb63d0ddbd2d3dd218b2df7I" source;FI"H(function() { var _base, _ref, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; (_base = Locomotive.Views).EditableElements || (_base.EditableElements = {}); Locomotive.Views.EditableElements.LongTextView = (function(_super) { __extends(LongTextView, _super); function LongTextView() { _ref = LongTextView.__super__.constructor.apply(this, arguments); return _ref; } LongTextView.prototype.tagName = 'li'; LongTextView.prototype.className = 'text input html'; LongTextView.prototype.render = function() { $(this.el).html(ich.editable_text_input(this.model.toJSON())); return this; }; LongTextView.prototype.after_render = function() { var settings, _this = this; settings = _.extend({}, this.tinymce_settings(), { oninit: (function(editor) { return $.cmd('S', (function() { _this.model.set({ content: editor.getBody().innerHTML }); return $(_this.el).parents('form').trigger('submit'); }), [], { ignoreCase: true, document: editor.dom.doc }); }), onchange_callback: function(editor) { return _this.model.set({ content: editor.getBody().innerHTML }); } }); return this.$('textarea').tinymce(settings); }; LongTextView.prototype.tinymce_settings = function() { return _.extend({ language: window.locale }, window.Locomotive.tinyMCE.defaultSettings); }; LongTextView.prototype.refresh = function() {}; LongTextView.prototype.remove = function() { this.$('textarea').tinymce().destroy(); return LongTextView.__super__.remove.apply(this, arguments); }; return LongTextView; })(Backbone.View); }).call(this); ;TI"dependency_digest;F"%ece6c7e99d91302b7419a86722f0a4eaI"required_paths;F[I"•/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/editable_elements/short_text_view.js.coffee;TI"”/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee;TI"dependency_paths;F[{I" path;FI"”/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee;TI" mtime;FI"2013-10-07T10:55:40+02:00;FI" digest;F"%18c7bce533fd3707d0f4b90a377cf3b4{I" path;FI"•/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/editable_elements/short_text_view.js.coffee;TI" mtime;FI"2013-10-07T10:55:40+02:00;FI" digest;F"%c4f8dcedcc31426edc36f601abf8b45fI" _version;F"%ffd318ca8b794f42f5029101c2cf5d91