o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672645.595126: @value"é {I" class:ETI"ProcessedAsset;FI"logical_path;TI"(locomotive/views/pages/edit_view.js;FI" pathname;TI"“/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-11-22T16:47:36+01:00;TI" length;TiÝI" digest;TI"%b1470b396f578efe14819f773f256178;FI" source;TI"Ý(function() { var _base, __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).Pages || (_base.Pages = {}); Locomotive.Views.Pages.EditView = (function(_super) { __extends(EditView, _super); function EditView() { return EditView.__super__.constructor.apply(this, arguments); } EditView.prototype.save = function(event) { var editable_elements, form; event.stopPropagation() & event.preventDefault(); this.trigger_change_event_on_focused_inputs(); form = $(event.target).trigger('ajax:beforeSend'); this.clear_errors(); editable_elements = _.clone(this.model.get('editable_elements')); return this.model.save({}, { success: (function(_this) { return function(model, response) { var fullpath; form.trigger('ajax:complete'); model._normalize(); if (model.get('template_changed') === true) { model.get('editable_elements').update_content_from(editable_elements); _this.reset_editable_elements(); } else { _this.refresh_editable_elements(); } fullpath = _this.model.get('localized_fullpaths')[window.content_locale]; return _this.$('#local-actions-bar > a.show').attr('href', "/" + fullpath); }; })(this), error: (function(_this) { return function(model, xhr) { var errors; form.trigger('ajax:complete'); errors = JSON.parse(xhr.responseText); return _this.show_errors(errors); }; })(this) }); }; return EditView; })(Locomotive.Views.Pages.FormView); }).call(this); ;TI"dependency_digest;TI"%802448bd2a7e0915106044875ca1d65a;FI"required_paths;T[I"“/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI"dependency_paths;T[{I" path;TI"“/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI" mtime;TI"2014-11-22T16:47:36+01:00;TI" digest;TI"%af6147dd0f0cc9ed0764382d90bdde3b;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F