o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1397508824.7644339: @value"Y {I" class:ETI"ProcessedAsset;FI"logical_path;TI"'locomotive/models/content_asset.js;FI" pathname;TI"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/models/content_asset.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-04-10T01:06:58+02:00;TI" length;Ti-I" digest;TI"%1b54e6282fdf209bc1b760e58b8795d5;FI" source;TI"-(function() { var __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; }; Locomotive.Models.ContentAsset = (function(_super) { __extends(ContentAsset, _super); function ContentAsset() { return ContentAsset.__super__.constructor.apply(this, arguments); } ContentAsset.prototype.paramRoot = 'content_asset'; ContentAsset.prototype.urlRoot = "" + Locomotive.mounted_on + "/content_assets"; ContentAsset.prototype.initialize = function() { return this.prepare(); }; ContentAsset.prototype.prepare = function() { if (this.get('uploading')) { this.set({ filename: this.get('source').name.truncate(15) }); } this.set({ image: this.get('content_type') === 'image', with_thumbnail: this.get('content_type') === 'image' || this.get('content_type') === 'pdf' }); return this; }; ContentAsset.prototype.toJSONForSave = function() { return { source: this.get('source') }; }; return ContentAsset; })(Backbone.Model); Locomotive.Models.ContentAssetsCollection = (function(_super) { __extends(ContentAssetsCollection, _super); function ContentAssetsCollection() { return ContentAssetsCollection.__super__.constructor.apply(this, arguments); } ContentAssetsCollection.prototype.model = Locomotive.Models.ContentAsset; ContentAssetsCollection.prototype.url = "" + Locomotive.mounted_on + "/content_assets"; return ContentAssetsCollection; })(Backbone.Collection); }).call(this); ;TI"dependency_digest;TI"%2018c44087d7318f88936bc002d7ed65;FI"required_paths;T[I"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/models/content_asset.js.coffee;FI"dependency_paths;T[{I" path;TI"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/models/content_asset.js.coffee;FI" mtime;TI"2014-04-10T01:06:58+02:00;TI" digest;TI"%10a2afec285911b8bda85cba5c11d28d;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F