{:uriI"ºfile://app/assets/javascripts/views/main/users/user_registration_form.coffee?type=application/javascript&pipeline=self&id=cf09c9ab227d76cb54512c02dbcc8dc848c18c4db7821c9e979aca19cf15b6cf:ET:load_pathI"app/assets/javascripts;T: filenameI"Japp/assets/javascripts/views/main/users/user_registration_form.coffee;T: nameI",views/main/users/user_registration_form;T:logical_pathI"4views/main/users/user_registration_form.self.js;T:content_typeI"application/javascript;T: sourceI"<(function() { var extend = 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; }, hasProp = {}.hasOwnProperty; App.Views.Main.Users.UserRegistrationForm = (function(superClass) { extend(UserRegistrationForm, superClass); function UserRegistrationForm(opts) { if (opts == null) { opts = {}; } UserRegistrationForm.__super__.constructor.call(this, opts); } UserRegistrationForm.prototype.render = function() { var form; form = new App.UI.Form({ "for": new App.Models.User, delegator: this, callbackSuccess: '_created' }); return form.render(); }; UserRegistrationForm.prototype.receivedSignal = function(signal, data) { switch (signal) { case 'confirming': return this._confirming(); case 'confirmed': return this._confirmed(); } }; UserRegistrationForm.prototype._created = function(data) { var flash; this.connectWith(new App.Models.User({ id: data.id })); $('form').add('#sign_in_paragraph').hide('slow'); $('#verification_info').show('slow'); flash = new App.Views.Shared.Flash({ notice: data.notice }); return flash.render(); }; UserRegistrationForm.prototype._confirming = function() { return $('#verification_info').text($('#verification_progress').text()); }; UserRegistrationForm.prototype._confirmed = function() { return window.location.href = '/user/sessions/new?event=confirmed'; }; return UserRegistrationForm; })(App.Views.Base); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"Xfile-digest://app/assets/javascripts/views/main/users/user_registration_form.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%)KÖEd6w· ‘3E«¤A kh¥™}bº3¶u: lengthi<:dependencies_digest"%tïõÅ—‰P?€AóͦÿÔLM™Ù‰+Øl[€á¾:idI"Ecf09c9ab227d76cb54512c02dbcc8dc848c18c4db7821c9e979aca19cf15b6cf;F: mtimel+ÝÉ;V