fixes #457 - fill should not emit console messages
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -2208,9 +2208,10 @@ function createPage(casper) { | ... | @@ -2208,9 +2208,10 @@ function createPage(casper) { |
2208 | if (logTest && logTest.length === 3) { | 2208 | if (logTest && logTest.length === 3) { |
2209 | logLevel = logTest[1]; | 2209 | logLevel = logTest[1]; |
2210 | msg = logTest[2]; | 2210 | msg = logTest[2]; |
2211 | casper.log(msg, logLevel, "remote"); | ||
2212 | } else { | ||
2213 | casper.emit('remote.message', msg); | ||
2211 | } | 2214 | } |
2212 | casper.log(msg, logLevel, "remote"); | ||
2213 | casper.emit('remote.message', msg); | ||
2214 | }; | 2215 | }; |
2215 | 2216 | ||
2216 | page.onCallback = function onCallback(data){ | 2217 | page.onCallback = function onCallback(data){ | ... | ... |
-
Please register or sign in to post a comment