B2G/gecko/services/common/modules-testing/aitcserver.js
/**
   * Start the server on a specified port.
   */
Start the server on a specified port.
Start the server on a specified port .
function start(port) {
    if (!port) {
      throw new Error("port argument must be specified.");
    }
    this.port = port;
    this.server.registerPrefixHandler(this.VERSION_PATH,
                                      this._generalHandler.bind(this));
    this.server.start(port);
  }
function start ( port ) { if ( ! port ) { throw new Error ( "port argument must be specified." ) ; } this . port = port ; this . server . registerPrefixHandler ( this . VERSION_PATH , this . _generalHandler . bind ( this ) ) ; this . server . start ( port ) ; }
Start the server on a specified port.
Start the server on a specified port .