o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672647.100682: @value"„ {I" class:ETI"ProcessedAsset;FI"logical_path;TI"/locomotive/views/sites/memberships_view.js;FI" pathname;TI"š/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/sites/memberships_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-11-22T16:47:36+01:00;TI" length;Ti\I" digest;TI"%05b5fe32a597d89ab1f55724245ecc21;FI" source;TI"\(function() { var _base, __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() { return MembershipsView.__super__.constructor.apply(this, arguments); } MembershipsView.prototype.tagName = 'div'; MembershipsView.prototype.id = 'site_memberships'; MembershipsView.prototype.className = 'list'; _entry_views = []; MembershipsView.prototype.render = function() { this.render_entries(); this.enable_ui_effects(); $(this.el).append(''); 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() { return this.model.get('memberships').each((function(_this) { return function(membership, index) { return _this._insert_entry(membership, index); }; })(this)); }; 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;TI"%c13733bfdfd7c2ca9ca270c3c68668e6;FI"required_paths;T[I"š/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/sites/memberships_view.js.coffee;FI"dependency_paths;T[{I" path;TI"š/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/sites/memberships_view.js.coffee;FI" mtime;TI"2014-11-22T16:47:36+01:00;TI" digest;TI"%5f22b21e30fb20f477e62f1c3dc8c03e;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F