Commit 3cdde7e4 3cdde7e42905ec2955bad6e5e01e4641ad85cb3c by Nicolas Perriault

fixed isType was called with no module attached

1 parent 0f6fd644
......@@ -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;
......