fixed isType was called with no module attached
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -541,7 +541,7 @@ Casper.prototype = { | ... | @@ -541,7 +541,7 @@ Casper.prototype = { |
541 | }, {'name': name}); | 541 | }, {'name': name}); |
542 | if ('error' in result) { | 542 | if ('error' in result) { |
543 | throw new Error(result.error); | 543 | throw new Error(result.error); |
544 | } else if (isType(result.value, "string")) { | 544 | } else if (utils.isType(result.value, "string")) { |
545 | return JSON.parse(result.value); | 545 | return JSON.parse(result.value); |
546 | } else { | 546 | } else { |
547 | return undefined; | 547 | return undefined; | ... | ... |
-
Please register or sign in to post a comment