o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142258.515776: @value"Æ {I" class:EFI"ProcessedAsset;FI"logical_path;FI"/locomotive/views/sites/memberships_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/memberships_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-07T10:55:40+02:00;FI" length;FiâI" digest;F"%342448b4c19082230997de30507f1951I" 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.MembershipsView = (function(_super) { var _entry_views; __extends(MembershipsView, _super); function MembershipsView() { _ref = MembershipsView.__super__.constructor.apply(this, arguments); return _ref; } MembershipsView.prototype.tagName = 'div'; MembershipsView.prototype.className = 'list'; _entry_views = []; MembershipsView.prototype.render = function() { this.render_entries(); this.enable_ui_effects(); return this; }; MembershipsView.prototype.change_entry = function(membership, value) { return membership.set({ role: value }); }; MembershipsView.prototype.remove_entry = function(membership) { return membership.set({ _destroy: true }); }; MembershipsView.prototype.render_entries = function() { var _this = this; return this.model.get('memberships').each(function(membership, index) { return _this._insert_entry(membership, index); }); }; MembershipsView.prototype.enable_ui_effects = function() { return this.$('.entry select').editableField(); }; MembershipsView.prototype._insert_entry = function(membership, index) { var view; view = new Locomotive.Views.Sites.MembershipEntryView({ model: membership, parent_view: this, index: index }); (this._entry_views || (this._entry_views = [])).push(view); return $(this.el).append(view.render().el); }; return MembershipsView; })(Backbone.View); }).call(this); ;TI"dependency_digest;F"%219c3dbe882954456fff7e5abbd70d0fI"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/memberships_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/memberships_view.js.coffee;TI" mtime;FI"2013-10-07T10:55:40+02:00;FI" digest;F"%ed393d19f12c23b29c0aefdefc70c383I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91