зеркало из https://github.com/microsoft/appium.git
to reuse the server we need to rescope these variables
This commit is contained in:
Родитель
84cc68811a
Коммит
f3a2f4035c
|
@ -1,14 +1,14 @@
|
|||
"use strict";
|
||||
var http = require('http')
|
||||
, express = require('express')
|
||||
, rest = express()
|
||||
, path = require('path')
|
||||
, server = http.createServer(rest)
|
||||
, logger = require('./logger').get('appium')
|
||||
, appium = require('./app/appium')
|
||||
, parser = require('./app/parser');
|
||||
|
||||
var main = function(args, readyCb, doneCb) {
|
||||
var rest = express()
|
||||
, server = http.createServer(rest);
|
||||
if (typeof doneCb === "undefined") {
|
||||
doneCb = function() {};
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче