o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381401966.527909: @value"ƒ {I" class:EFI"ProcessedAsset;FI"logical_path;FI"locomotive/models/page.js;TI" pathname;FI"~/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/models/page.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-10T12:39:17+02:00;FI" length;FiæI" digest;F"%908be78dc700c929dc502fd8904fa3a2I" source;FI"æ(function() { var _ref, _ref1, __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() { _ref = Page.__super__.constructor.apply(this, arguments); return _ref; } 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() { var _this = this; return _.tap(Page.__super__.toJSON.apply(this, arguments), 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 = _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'); } }); }; return Page; })(Backbone.Model); Locomotive.Models.PagesCollection = (function(_super) { __extends(PagesCollection, _super); function PagesCollection() { _ref1 = PagesCollection.__super__.constructor.apply(this, arguments); return _ref1; } return PagesCollection; })(Backbone.Collection); }).call(this); ;TI"dependency_digest;F"%8bf746b6e313b0b3b7bd173748a07b1dI"required_paths;F[I"~/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/models/page.js.coffee;TI"dependency_paths;F[{I" path;FI"~/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/models/page.js.coffee;TI" mtime;FI"2013-10-10T12:39:17+02:00;FI" digest;F"%29a6efb925e2133584231bba89a68e9aI" _version;F"%ffd318ca8b794f42f5029101c2cf5d91