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
3cdde7e4
...
3cdde7e42905ec2955bad6e5e01e4641ad85cb3c
authored
2011-12-27 14:37:07 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed isType was called with no module attached
1 parent
0f6fd644
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 @
3cdde7e
...
...
@@ -541,7 +541,7 @@ Casper.prototype = {
},
{
'name'
:
name
});
if
(
'error'
in
result
)
{
throw
new
Error
(
result
.
error
);
}
else
if
(
isType
(
result
.
value
,
"string"
))
{
}
else
if
(
utils
.
isType
(
result
.
value
,
"string"
))
{
return
JSON
.
parse
(
result
.
value
);
}
else
{
return
undefined
;
...
...
Please
register
or
sign in
to post a comment