o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1364984307.377939: @value"¶ {I" class:EFI"ProcessedAsset;FI"logical_path;FI"8locomotive/views/content_assets/picker_item_view.js;TI" pathname;FI"/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-04-03T11:01:13+02:00;FI" length;FiüI" digest;F"%9f412e6c213ba748ea841b26463152e1I" 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).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;F"%3033a6b14dc2a0bc32956fc1fb61ee33I"required_paths;F[I"/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;TI"dependency_paths;F[{I" path;FI"/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee;TI" mtime;FI"2013-04-03T11:01:13+02:00;FI" digest;F"%a63bd7612472d0341aa8db4fa899b973I" _version;F"%6776f581a4329e299531e1d52aa59832