o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1396088398.59495: @value"y{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/bundler/gems/engine-c0bddd719ddf/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-03-29T11:18:01+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"%772779a4d8913a37028dd43db274a025;FI"required_paths;T[I" /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/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/bundler/gems/engine-c0bddd719ddf/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/bundler/gems/engine-c0bddd719ddf/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/bundler/gems/engine-c0bddd719ddf/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee;FI" mtime;TI"2014-03-29T11:18:01+01:00;TI" digest;TI"%26ae9322144bdf15f0e2fbf8d7f0268d;F{I" path;TI" /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee;FI" mtime;TI"2014-03-29T11:18:01+01:00;TI" digest;TI"%530d8faa1e59d267e84e809bd2f80524;F{I" path;TI"¢/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-c0bddd719ddf/app/assets/javascripts/locomotive/views/sites/domains_view.js.coffee;FI" mtime;TI"2014-03-29T11:18:01+01:00;TI" digest;TI"%1e3c50655b4cbf1908edc109ee95288c;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F