o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1383239452.460385: @value"V {I" class:ETI"ProcessedAsset;FI"logical_path;TI"8locomotive/views/content_assets/picker_item_view.js;FI" pathname;TI"¨/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-31T17:26:43+01:00;TI" length;TiûI" digest;TI"%b1b8ac65d8b3ad354f47dd46e71351ae;FI" source;TI"û(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).ContentAssets || (_base.ContentAssets = {}); Locomotive.Views.ContentAssets.PickerItemView = (function(_super) { __extends(PickerItemView, _super); function PickerItemView() { _ref = PickerItemView.__super__.constructor.apply(this, arguments); return _ref; } PickerItemView.prototype.tagName = 'li'; PickerItemView.prototype.className = 'asset'; PickerItemView.prototype.events = { 'click h4 a, .icon, .image': 'select_asset', 'click a.remove': 'remove_asset' }; PickerItemView.prototype.render = function() { $(this.el).html(ich.content_asset(this.model.toJSON())); return this; }; PickerItemView.prototype.select_asset = function(event) { event.stopPropagation() & event.preventDefault(); return this.on_select(this.model); }; PickerItemView.prototype.on_select = function() { if (this.options.parent.options.on_select) { return this.options.parent.options.on_select(this.model); } }; PickerItemView.prototype.remove_asset = function(event) { var message; event.stopPropagation() & event.preventDefault(); message = $(event.target).data('confirm') || $(event.target).parent().data('confirm'); if (confirm(message)) { return this.model.destroy(); } }; return PickerItemView; })(Backbone.View); }).call(this); ;TI"dependency_digest;TI"%1bf5a4dc7e437592cee98222dfbd624e;FI"required_paths;T[I"¨/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;FI"dependency_paths;T[{I" path;TI"¨/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;FI" mtime;TI"2013-10-31T17:26:43+01:00;TI" digest;TI"%41bb67c79ae603d6f102f4e3b9e739e5;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F