appium-uiauto
Advanced tools
Comparing version 1.2.0-beta2 to 1.2.0-beta3
{ | ||
"excludeFiles": ["node_modules/**", "uiauto/**"], | ||
"excludeFiles": ["node_modules/**", "uiauto/vendors/**", | ||
"test/AppiumUiAutoTestApp/integration/github/**", | ||
"test/AppiumUiAutoTestApp/integration/tmp/**"], | ||
"requireCurlyBraces": ["for", "while", "do", "try", "catch"], | ||
@@ -4,0 +6,0 @@ "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", |
@@ -1,8 +0,8 @@ | ||
var path = require('path'), | ||
dynamicBootstrap = require('./dynamic-bootstrap'); | ||
var path = require('path'); | ||
module.exports = { | ||
prepareBootstrap: dynamicBootstrap.prepareBootstrap, | ||
prepareBootstrap: require('./dynamic-bootstrap').prepareBootstrap, | ||
CommandProxy: require('./command-proxy'), | ||
rotate: path.resolve(__dirname, "../osa/Rotate.applescript"), | ||
logger: require('./logger') | ||
}; |
{ | ||
"name": "appium-uiauto", | ||
"version": "1.2.0-beta2", | ||
"version": "1.2.0-beta3", | ||
"description": "appium uiauto ios driver", | ||
@@ -34,4 +34,5 @@ "main": "lib/main.js", | ||
"devDependencies": { | ||
"jscs": "~1.4.5", | ||
"jscs": "https://github.com/appium/node-jscs/archive/instruments-js.tar.gz", | ||
"jshint": "~2.5.1", | ||
"mocha": "^1.20.1", | ||
"rimraf": "~2.2.8", | ||
@@ -38,0 +39,0 @@ "sinon": "^1.10.2" |
@@ -6,12 +6,2 @@ appium-uiauto | ||
## Installing | ||
``` | ||
npm install appium-uiauto | ||
``` | ||
## Usage | ||
TODO | ||
## Publishing | ||
@@ -21,4 +11,6 @@ | ||
npm version [patch|minor|major] | ||
git push --tags origin master | ||
# make sure everything is commited | ||
git push origin master | ||
git push --tags | ||
npm publish | ||
``` |
@@ -14,4 +14,4 @@ /* globals env, alerts, commands */ | ||
(function() { | ||
bootstrap = function(dynamicEnv) { | ||
(function () { | ||
bootstrap = function (dynamicEnv) { | ||
env.init(dynamicEnv); | ||
@@ -18,0 +18,0 @@ alerts.configure(); |
@@ -5,5 +5,5 @@ /* global autoAcceptAlerts*/ | ||
(function() { | ||
(function () { | ||
alerts = {}; | ||
alerts.configure = function() { | ||
alerts.configure = function () { | ||
UIATarget.onAlert = function (alert) { | ||
@@ -16,4 +16,4 @@ if (alert.name() && alert.name().indexOf("attempting to open a pop-up") !== -1 && alert.buttons().length > 0) { | ||
return true; | ||
}; | ||
}; | ||
}; | ||
})(); |
@@ -47,3 +47,3 @@ /* globals $, errors, env */ | ||
commands.startProcessing = function() { | ||
commands.startProcessing = function () { | ||
// let server know we're alive and get first command | ||
@@ -50,0 +50,0 @@ var cmd = getFirstCommand(); |
@@ -8,10 +8,10 @@ /* globals $ */ | ||
(function() { | ||
(function () { | ||
env = {}; | ||
env.init = function(dynamicEnv) { | ||
env.init = function (dynamicEnv) { | ||
// safe default | ||
$.target().setTimeout(1); | ||
target = $.target(); | ||
au = $; | ||
au = $; | ||
@@ -18,0 +18,0 @@ // TODO: move to dynamic env |
@@ -5,3 +5,3 @@ "use strict"; | ||
(function() { | ||
(function () { | ||
errors = { | ||
@@ -8,0 +8,0 @@ Success: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
152231
70
2810
5
15
15