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
d9fa193d
...
d9fa193dff4b4d4b22dbb88667564649315633e1
authored
2013-07-04 16:35:14 +0200
by
Clochix
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix use of utils.format on client side code
1 parent
16806c3a
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 @
d9fa193
...
...
@@ -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