tool/cli/templates/skeleton/mobile/source/class/custom/Application.tmpl.js
function()
    {
      // Call super class
      this.base(arguments);

      // Enable logging in debug variant
      if (qx.core.Environment.get("qx.debug"))
      {
        // support native logging capabilities, e.g. Firebug for Firefox
        qx.log.appender.Native;
        // support additional cross-browser console.
        // Trigger a "longtap" event on the navigation bar for opening it.
        qx.log.appender.Console;
      }

      /*
      -------------------------------------------------------------------------
        Below is your actual application code...
        Remove or edit the following code to create your application.
      -------------------------------------------------------------------------
      */

      var login = new ${namespace}.page.Login();
      var overview = new ${namespace}.page.Overview();

      // Add the pages to the page manager.
      var manager = new qx.ui.mobile.page.Manager(false);
      manager.addDetail([
        login,
        overview
      ]);

      // Initialize the application routing
      this.getRouting().onGet("/", this._show, login);
      this.getRouting().onGet("/overview", this._show, overview);

      this.getRouting().init();
    }
function()
    {
      // Call super class
      this.base(arguments);

      // Enable logging in debug variant
      if (qx.core.Environment.get("qx.debug"))
      {
        // support native logging capabilities, e.g. Firebug for Firefox
        qx.log.appender.Native;
        // support additional cross-browser console.
        // Trigger a "longtap" event on the navigation bar for opening it.
        qx.log.appender.Console;
      }

      /*
      -------------------------------------------------------------------------
        Below is your actual application code...
        Remove or edit the following code to create your application.
      -------------------------------------------------------------------------
      */

      var login = new ${namespace}.page.Login();
      var overview = new ${namespace}.page.Overview();

      // Add the pages to the page manager.
      var manager = new qx.ui.mobile.page.Manager(false);
      manager.addDetail([
        login,
        overview
      ]);

      // Initialize the application routing
      this.getRouting().onGet("/", this._show, login);
      this.getRouting().onGet("/overview", this._show, overview);

      this.getRouting().init();
    }
function ( ) { // Call super class this . base ( arguments ) ; // Enable logging in debug variant if ( qx . core . Environment . get ( "qx.debug" ) ) { // support native logging capabilities, e.g. Firebug for Firefox qx . log . appender . Native ; // support additional cross-browser console. // Trigger a "longtap" event on the navigation bar for opening it. qx . log . appender . Console ; } /*
      -------------------------------------------------------------------------
        Below is your actual application code...
        Remove or edit the following code to create your application.
      -------------------------------------------------------------------------
      */ var login = new $ { namespace } . page . Login ( ) ; var overview = new $ { namespace } . page . Overview ( ) ; // Add the pages to the page manager. var manager = new qx . ui . mobile . page . Manager ( false ) ; manager . addDetail ( [ login , overview ] ) ; // Initialize the application routing this . getRouting ( ) . onGet ( "/" , this . _show , login ) ; this . getRouting ( ) . onGet ( "/overview" , this . _show , overview ) ; this . getRouting ( ) . init ( ) ; }
This method contains the initial application code and gets called
during startup of the application
This method contains the initial application code and gets called during startup of the application