pagelets/nodejitsu/login/base.js
function initialize() {
    var hash = window.location.hash.match(/^\#?\/([^\/]+)?\/?$/)
      , self = this;

    //
    // The login form is in the DOM by default so it can leverage
    // browser password saving features.
    //
    this.content = $('section.modal').get('innerHTML');

    if (hash && hash[1] === 'login') setTimeout(function check() {
      if (Cortex.app('modal')) return self.render('login');

      setTimeout(check, 100);
    }, 100);
  }
function initialize() {
    var hash = window.location.hash.match(/^\#?\/([^\/]+)?\/?$/)
      , self = this;

    //
    // The login form is in the DOM by default so it can leverage
    // browser password saving features.
    //
    this.content = $('section.modal').get('innerHTML');

    if (hash && hash[1] === 'login') setTimeout(function check() {
      if (Cortex.app('modal')) return self.render('login');

      setTimeout(check, 100);
    }, 100);
  }
function initialize ( ) { var hash = window . location . hash . match ( / ^\#?\/([^\/]+)?\/?$ / ) , self = this ; // // The login form is in the DOM by default so it can leverage // browser password saving features. // this . content = $ ( 'section.modal' ) . get ( 'innerHTML' ) ; if ( hash && hash [ 1 ] === 'login' ) setTimeout ( function check ( ) { if ( Cortex . app ( 'modal' ) ) return self . render ( 'login' ) ; setTimeout ( check , 100 ) ; } , 100 ) ; }
Initialize called by the constructor on load.

@api private
Initialize called by the constructor on load .