o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1383239455.8654: @value" {I" class:ETI"ProcessedAsset;FI"logical_path;TI"-locomotive/views/my_account/edit_view.js;FI" pathname;TI"/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-31T17:26:43+01:00;TI" length;TiI" digest;TI"%1a13b2320891092ce7bb6b24c97fd2e5;FI" source;TI"(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;TI"%f1313daa429fe9d56bd58d0e4a5b525c;FI"required_paths;T[I"/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;FI"/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee;FI"dependency_paths;T[{I" path;TI"/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee;FI" mtime;TI"2013-10-31T17:26:43+01:00;TI" digest;TI"%0f7b3e9df629d1714fde38e685fa2914;F{I" path;TI"/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.0/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;FI" mtime;TI"2013-10-31T17:26:43+01:00;TI" digest;TI"%530d8faa1e59d267e84e809bd2f80524;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F