Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
32deac70
...
32deac7026e21aa2f7c9f617959b0448bd54fda3
authored
2012-07-25 23:26:57 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #186 from pborreli/master
Fix some typos
2 parents
4eee8140
ea5f1452
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
modules/casper.js
modules/clientutils.js
modules/events.js
modules/tester.js
modules/utils.js
tests/suites/casper/formfill.js
modules/casper.js
View file @
32deac7
...
...
@@ -193,7 +193,7 @@ Casper.prototype.back = function back() {
};
/**
* Encodes a resource using the base64 algorithm synchron
e
ously 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 occur
r
ed (default: "phantom")
* @return Casper
*/
Casper
.
prototype
.
log
=
function
log
(
message
,
level
,
space
)
{
...
...
modules/clientutils.js
View file @
32deac7
...
...
@@ -551,7 +551,7 @@
e
.
checked
=
(
e
.
value
===
value
);
});
}
else
{
out
=
'
U
rovided radio elements are empty'
;
out
=
'
P
rovided radio elements are empty'
;
}
break
;
default
:
...
...
modules/events.js
View file @
32deac7
...
...
@@ -51,7 +51,6 @@ EventEmitter.prototype.emit = function() {
}
else
{
throw
new
CasperError
(
"Uncaught, unspecified 'error' event."
);
}
return
false
;
}
}
...
...
modules/tester.js
View file @
32deac7
...
...
@@ -672,7 +672,7 @@ var Tester = function Tester(casper, options) {
};
/**
* Render tests results, an option
na
ly exit phantomjs.
* Render tests results, an option
al
ly 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 occur
r
ed
* @param Number line Line number (optional)
*/
this
.
uncaughtError
=
function
uncaughtError
(
error
,
file
,
line
)
{
...
...
modules/utils.js
View file @
32deac7
...
...
@@ -146,7 +146,6 @@
value
=
value
[
property
];
}
else
{
value
=
undefined
;
return
;
}
});
return
value
;
...
...
tests/suites/casper/formfill.js
View file @
32deac7
...
...
@@ -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
();
...
...
Please
register
or
sign in
to post a comment