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
4f4165b6
...
4f4165b605fe9131d87f3fded97f82e6359b15db
authored
2013-07-04 07:42:24 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #517 from clochix/format
Fix use of utils.format on client side code
2 parents
16806c3a
d9fa193d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
4f4165b
...
...
@@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) {
try
{
result
.
value
=
JSON
.
stringify
(
window
[
name
]);
}
catch
(
e
)
{
var
message
=
f
(
"Unable to JSON encode window.%s: %s"
,
name
,
e
)
;
var
message
=
"Unable to JSON encode window."
+
name
+
": "
+
e
;
__utils__
.
log
(
message
,
"error"
);
result
.
error
=
message
;
}
...
...
Please
register
or
sign in
to post a comment