o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1364984315.7381802: @value"± {I" class:EFI"ProcessedAsset;FI"logical_path;FI"4locomotive/views/sites/membership_entry_view.js;TI" pathname;FI"{/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-04-03T11:01:13+02:00;FI" length;FiI" digest;F"%088ceda91c26a9b11b7dbb23fe8da2e5I" 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"%6acd7dc36a80c945248afdee2e584fd9I"required_paths;F[I"{/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee;TI"dependency_paths;F[{I" path;FI"{/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee;TI" mtime;FI"2013-04-03T11:01:13+02:00;FI" digest;F"%d14a8cb499e67dd87f2a6ade47c167f6I" _version;F"%6776f581a4329e299531e1d52aa59832