o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672647.192467: @value"é{I" class:ETI"ProcessedAsset;FI"logical_path;TI"'locomotive/views/sites/new_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/sites/new_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"%f28206a90e34734e8feec2d16d37e286;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).Sites || (_base.Sites = {}); Locomotive.Views.Sites.NewView = (function(_super) { __extends(NewView, _super); function NewView() { return NewView.__super__.constructor.apply(this, arguments); } NewView.prototype.el = '#content'; NewView.prototype.events = { 'submit': 'save' }; NewView.prototype.initialize = function() { this.model = new Locomotive.Models.Site(); return Backbone.ModelBinding.bind(this); }; NewView.prototype.render = function() { NewView.__super__.render.call(this); return this.render_domains(); }; NewView.prototype.render_domains = function() { this.domains_view = new Locomotive.Views.Sites.DomainsView({ model: this.model, errors: this.options.errors }); return this.$('#site_domains_input label').after(this.domains_view.render().el); }; NewView.prototype.save = function(event) { return this.save_in_ajax(event, { on_success: function(response, xhr) { return window.location.href = xhr.getResponseHeader('location'); } }); }; NewView.prototype.show_error = function(attribute, message, html) { if (attribute === 'domains') { return this.domains_view.show_error(message); } else { return NewView.__super__.show_error.apply(this, arguments); } }; NewView.prototype.remove = function() { this.domains_view.remove(); return NewView.__super__.remove.apply(this, arguments); }; return NewView; })(Locomotive.Views.Shared.FormView); }).call(this); ;TI"dependency_digest;TI"%a4ac3085db0c564b0c30a0f1b5c98417;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/sites/domains_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/sites/new_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/sites/new_view.js.coffee;FI" mtime;TI"2014-11-22T16:47:36+01:00;TI" digest;TI"%26ae9322144bdf15f0e2fbf8d7f0268d;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;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/sites/domains_view.js.coffee;F@!I"2014-11-22T16:47:36+01:00;T@#I"%1e3c50655b4cbf1908edc109ee95288c;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F