1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 20:52:27 +01:00

Remove straggling String#quote usage.

String#quote is no more.

Fixes :mkvimruntime.
This commit is contained in:
Doug Kearns
2015-05-14 03:02:30 +10:00
parent a9a97704f3
commit 07ce319763
4 changed files with 6 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ function require_(obj, name, from, targetName) {
return obj;
}
catch (e) {
defineModule.dump("loading " + String.quote(name + ".jsm") + "\n");
defineModule.dump("loading " + JSON.stringify(name + ".jsm") + "\n");
if (loaded.util)
util.reportError(e);
else
@@ -291,9 +291,9 @@ function* properties(obj, prototypes) {
}
catch (e) {
util.reportError("Filtering properties for " +
String.quote(obj) + ", " +
JSON.stringify(obj) + ", " +
"error checking presence of " +
String.quote(prop) + ": " + e);
JSON.stringify(prop) + ": " + e);
}
return false;
};