Sha256: dc4768489b7cca7a744f5c88a283b5cdeea65cdf141d84c2cecbf73e07a075c0
Contents?: true
Size: 955 Bytes
Versions: 18
Compression:
Stored size: 955 Bytes
Contents
I"¯(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.Admin.Sessions.Form = (function(superClass) { extend(Form, superClass); function Form(opts) { if (opts == null) { opts = {}; } Form.__super__.constructor.call(this, opts); } Form.prototype.render = function() { var form; form = new App.UI.Form({ id: 'sign_in_admin', delegator: this, callbackSuccess: '_signedIn' }); return form.render(); }; Form.prototype._signedIn = function() { return window.location.href = "/admin"; }; return Form; })(App.Views.Base); }).call(this); :ET
Version data entries
18 entries across 18 versions & 1 rubygems