o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1397508825.5948029: @value"ò {I" class:ETI"ProcessedAsset;FI"logical_path;TI"locomotive/models/page.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/page.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-04-10T01:06:58+02:00;TI" length;TiêI" digest;TI"%5556f7481a3523a5012f269e294d2383;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.Page = (function(_super) { __extends(Page, _super); function Page() { return Page.__super__.constructor.apply(this, arguments); } Page.prototype.paramRoot = 'page'; Page.prototype.urlRoot = "" + Locomotive.mounted_on + "/pages"; Page.prototype.initialize = function() { this._normalize(); return this.set({ edit_url: "" + Locomotive.mounted_on + "/pages/" + this.id + "/edit" }); }; Page.prototype._normalize = function() { return this.set({ editable_elements: new Locomotive.Models.EditableElementsCollection(this.get('editable_elements') || []) }); }; Page.prototype.toJSON = function() { return _.tap(Page.__super__.toJSON.apply(this, arguments), (function(_this) { return function(hash) { _.each(['fullpath', 'localized_fullpaths', 'templatized_from_parent', 'template_changed', 'escaped_raw_template', 'target_klass_name_text', 'content_type_id_text', 'edit_url', 'parent_id_text', 'response_type_text', 'translated_in'], function(key) { return delete hash[key]; }); delete hash['editable_elements']; if ((_this.get('editable_elements') != null) && _this.get('editable_elements').length > 0) { hash.editable_elements_attributes = _this.get('editable_elements').toJSONForSave(); } delete hash['target_klass_name']; if (_this.get('templatized') === true) { return hash.target_klass_name = _this.get('target_klass_name'); } }; })(this)); }; return Page; })(Backbone.Model); Locomotive.Models.PagesCollection = (function(_super) { __extends(PagesCollection, _super); function PagesCollection() { return PagesCollection.__super__.constructor.apply(this, arguments); } return PagesCollection; })(Backbone.Collection); }).call(this); ;TI"dependency_digest;TI"%2ccdac02c495191da2ffb4b1920b6cb7;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/page.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/page.js.coffee;FI" mtime;TI"2014-04-10T01:06:58+02:00;TI" digest;TI"%7a948685e1363173a53821cc215919e0;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F