Commit 32deac70 32deac7026e21aa2f7c9f617959b0448bd54fda3 by Nicolas Perriault

Merge pull request #186 from pborreli/master

Fix some typos
2 parents 4eee8140 ea5f1452
......@@ -193,7 +193,7 @@ Casper.prototype.back = function back() {
};
/**
* Encodes a resource using the base64 algorithm synchroneously using
* Encodes a resource using the base64 algorithm synchronously using
* client-side XMLHttpRequest.
*
* NOTE: we cannot use window.btoa() for some strange reasons here.
......@@ -851,7 +851,7 @@ Casper.prototype.injectClientUtils = function injectClientUtils() {
*
* @param String message The message to log
* @param String level The log message level (from Casper.logLevels property)
* @param String space Space from where the logged event occured (default: "phantom")
* @param String space Space from where the logged event occurred (default: "phantom")
* @return Casper
*/
Casper.prototype.log = function log(message, level, space) {
......
......@@ -551,7 +551,7 @@
e.checked = (e.value === value);
});
} else {
out = 'Urovided radio elements are empty';
out = 'Provided radio elements are empty';
}
break;
default:
......
......@@ -51,7 +51,6 @@ EventEmitter.prototype.emit = function() {
} else {
throw new CasperError("Uncaught, unspecified 'error' event.");
}
return false;
}
}
......
......@@ -672,7 +672,7 @@ var Tester = function Tester(casper, options) {
};
/**
* Render tests results, an optionnaly exit phantomjs.
* Render tests results, an optionally exit phantomjs.
*
* @param Boolean exit
*/
......@@ -796,7 +796,7 @@ var Tester = function Tester(casper, options) {
* file.
*
* @param Error|String error The error
* @param String file Test file where the error occured
* @param String file Test file where the error occurred
* @param Number line Line number (optional)
*/
this.uncaughtError = function uncaughtError(error, file, line) {
......
......@@ -146,7 +146,6 @@
value = value[property];
} else {
value = undefined;
return;
}
});
return value;
......
......@@ -62,7 +62,7 @@ casper.thenOpen('tests/site/multiple-forms.html', function() {
casper.then(function() {
this.test.assertUrlMatch(/\?f=f2&yo=ok$/, 'Casper.fill() handles multiple forms');
}),
});
casper.run(function() {
this.test.done();
......