o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381401970.692147: @value"x {I" class:EFI"ProcessedAsset;FI"logical_path;FI"-locomotive/views/my_account/edit_view.js;TI" pathname;FI"ˆ/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-10T12:39:17+02:00;FI" length;FiI" digest;F"%1a13b2320891092ce7bb6b24c97fd2e5I" source;FI"(function() { var _base, _ref, __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() { _ref = EditView.__super__.constructor.apply(this, arguments); return _ref; } 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, _this = this; 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(data) { return button.prev('code').html(data.api_key); } }); } }; return EditView; })(Locomotive.Views.Shared.FormView); }).call(this); ;TI"dependency_digest;F"%a9a87039c38da47071489ca87e31f0ceI"required_paths;F[I"„/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;TI"ˆ/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/my_account/edit_view.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/views/my_account/edit_view.js.coffee;TI" mtime;FI"2013-10-10T12:39:17+02:00;FI" digest;F"%0f7b3e9df629d1714fde38e685fa2914{I" path;FI"„/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;TI" mtime;FI"2013-10-10T12:39:17+02:00;FI" digest;F"%ef9f32774c138a955cdd337e254a9be1I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91