Commit 4f4165b6 4f4165b605fe9131d87f3fded97f82e6359b15db by Nicolas Perriault

Merge pull request #517 from clochix/format

Fix use of utils.format on client side code
2 parents 16806c3a d9fa193d
...@@ -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 }
......