o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672645.313438: @value"Ò {I" class:ETI"ProcessedAsset;FI"logical_path;TI"-locomotive/views/my_account/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/my_account/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"%77ef5d1b9f52cbf1e6e98c5f5747b6e0;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).MyAccount || (_base.MyAccount = {}); Locomotive.Views.MyAccount.EditView = (function(_super) { __extends(EditView, _super); function EditView() { return EditView.__super__.constructor.apply(this, arguments); } EditView.prototype.el = '#content'; EditView.prototype.events = { 'click .api_key.input button': 'regenerate_api_key', 'submit': 'save' }; EditView.prototype.initialize = function() { this.model = new Locomotive.Models.CurrentAccount(this.options.account); return Backbone.ModelBinding.bind(this); }; EditView.prototype.render = function() { return EditView.__super__.render.call(this); }; EditView.prototype.save = function(event) { if (this.model.get('locale') === window.locale) { return this.save_in_ajax(event); } }; EditView.prototype.regenerate_api_key = function(event) { var button; event.stopPropagation() & event.preventDefault(); button = $(event.target); if (confirm(button.data('confirm'))) { return $.rails.ajax({ url: button.data('url'), type: 'put', dataType: 'json', success: (function(_this) { return function(data) { return button.prev('code').html(data.api_key); }; })(this) }); } }; return EditView; })(Locomotive.Views.Shared.FormView); }).call(this); ;TI"dependency_digest;TI"%aaded60cf66ad0ad6355c5f9408725ed;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/shared/form_view.js.coffee;FI"˜/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/views/my_account/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/my_account/edit_view.js.coffee;FI" mtime;TI"2014-11-22T16:47:36+01:00;TI" digest;TI"%0f7b3e9df629d1714fde38e685fa2914;F{@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/shared/form_view.js.coffee;F@ I"2014-11-22T16:47:36+01:00;T@"I"%6b625a8f368e04b11585748da811b133;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F