o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142258.331087: @value" {I" class:EFI"ProcessedAsset;FI"logical_path;FI"4locomotive/views/sites/membership_entry_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/sites/membership_entry_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-07T10:55:40+02:00;FI" length;FiI" digest;F"%42a58d712ecff08d3129f9600a54d379I" source;FI"(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).Sites || (_base.Sites = {}); Locomotive.Views.Sites.MembershipEntryView = (function(_super) { __extends(MembershipEntryView, _super); function MembershipEntryView() { _ref = MembershipEntryView.__super__.constructor.apply(this, arguments); return _ref; } MembershipEntryView.prototype.className = 'entry'; MembershipEntryView.prototype.events = { 'change select': 'change', 'click a.remove': 'remove' }; MembershipEntryView.prototype.render = function() { var data; data = this.model.toJSON(); data.index = this.options.index; $(this.el).html(ich.membership_entry(data)); $(this.el).data('role', this.model.get('role')); $(this.el).attr('data-role', this.model.get('role')); this.$('select').val(this.model.get('role')); return this; }; MembershipEntryView.prototype.change = function(event) { var value; value = $(event.target).val(); return this.options.parent_view.change_entry(this.model, value); }; MembershipEntryView.prototype.remove = function(event) { event.stopPropagation() & event.preventDefault(); this.$('select').editableField('destroy'); this.options.parent_view.remove_entry(this.model); return MembershipEntryView.__super__.remove.call(this); }; return MembershipEntryView; })(Backbone.View); }).call(this); ;TI"dependency_digest;F"%b44c6ed4ddc311a88211627273691c60I"required_paths;F[I"/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/sites/membership_entry_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/sites/membership_entry_view.js.coffee;TI" mtime;FI"2013-10-07T10:55:40+02:00;FI" digest;F"%71af0e1b6079bf6263448b77cdbecea2I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91