o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384182742.63345: @value"a{I" class:ETI"ProcessedAsset;FI"logical_path;TI"'locomotive/views/sites/new_view.js;FI" pathname;TI"—/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-11-11T00:40:29+01:00;TI" length;TièI" digest;TI"%9095f044678836286ab9ba5a93f62566;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).Sites || (_base.Sites = {}); Locomotive.Views.Sites.NewView = (function(_super) { __extends(NewView, _super); function NewView() { _ref = NewView.__super__.constructor.apply(this, arguments); return _ref; } 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"%0bf2008f5336640bdd9cd4c347ec55ca;FI"required_paths;T[I"™/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/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.1/app/assets/javascripts/locomotive/views/sites/domains_view.js.coffee;FI"—/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/sites/new_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.1/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee;FI" mtime;TI"2013-11-11T00:40:29+01:00;TI" digest;TI"%26ae9322144bdf15f0e2fbf8d7f0268d;F{I" path;TI"™/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;FI" mtime;TI"2013-11-11T00:40:29+01:00;TI" digest;TI"%530d8faa1e59d267e84e809bd2f80524;F{I" path;TI"›/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/sites/domains_view.js.coffee;FI" mtime;TI"2013-11-11T00:40:29+01:00;TI" digest;TI"%1e3c50655b4cbf1908edc109ee95288c;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F