Fix use of utils.format on client side code
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) { | ... | @@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) { |
1084 | try { | 1084 | try { |
1085 | result.value = JSON.stringify(window[name]); | 1085 | result.value = JSON.stringify(window[name]); |
1086 | } catch (e) { | 1086 | } catch (e) { |
1087 | var message = f("Unable to JSON encode window.%s: %s", name, e); | 1087 | var message = "Unable to JSON encode window." + name + ": " + e; |
1088 | __utils__.log(message, "error"); | 1088 | __utils__.log(message, "error"); |
1089 | result.error = message; | 1089 | result.error = message; |
1090 | } | 1090 | } | ... | ... |
-
Please register or sign in to post a comment