Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 51ac055

Browse files
author
Jan Krems
committed
chore: Check in new compiled version
1 parent ce724b6 commit 51ac055

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module.exports = Element = (function() {
171171
})();
172172

173173
elementOrNull = Element.elementOrNull = function(create) {
174-
var error, error1;
174+
var error;
175175
try {
176176
return create();
177177
} catch (error1) {

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = WebDriver = (function() {
113113
};
114114

115115
WebDriver.prototype.evaluate = function(clientFunctionString) {
116-
var args, error, error1, friendlyError, response;
116+
var args, error, friendlyError, response;
117117
if (arguments.length > 1) {
118118
clientFunctionString = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
119119
}
@@ -135,7 +135,7 @@ module.exports = WebDriver = (function() {
135135
};
136136

137137
WebDriver.prototype.evaluateAsync = function(clientFunctionString) {
138-
var args, error, error1, friendlyError, response;
138+
var args, error, friendlyError, response;
139139
if (arguments.length > 1) {
140140
clientFunctionString = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
141141
}

lib/json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3131
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3232
*/
3333
module.exports.tryParse = function(jsonString) {
34-
var error, error1;
34+
var error;
3535
try {
3636
return JSON.parse(jsonString);
3737
} catch (error1) {

lib/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = function(arg) {
8989
connectTimeout = CONNECT_TIMEOUT;
9090
}
9191
return function(url, method, data) {
92-
var body, elapsed, err, error, headers, ref1, requestBody, response, startTime;
92+
var body, elapsed, err, headers, ref1, requestBody, response, startTime;
9393
if (method == null) {
9494
method = 'GET';
9595
}

lib/session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ json = require('./json');
3939
parseResponseData = require('./parse_response');
4040

4141
module.exports = function(request, serverUrl, desiredCapabilities) {
42-
var capabilities, data, error, error1, response, sessionId, url;
42+
var capabilities, data, error, response, sessionId, url;
4343
url = serverUrl + "/session";
4444
data = {
4545
desiredCapabilities: desiredCapabilities

0 commit comments

Comments
 (0)