summaryrefslogtreecommitdiff
path: root/common/modules/base.jsm
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2015-05-14 03:02:30 +1000
committerDoug Kearns <dougkearns@gmail.com>2015-05-14 03:02:30 +1000
commit07ce31976314ce2bd1f7fcbb613e373663a7cf51 (patch)
tree1e0e4016c5a534b2b5f9c6d98b4377850ac02322 /common/modules/base.jsm
parenta9a97704f314252228a038bd73f31242dfa711a6 (diff)
downloadpentadactyl-07ce31976314ce2bd1f7fcbb613e373663a7cf51.tar.gz
Remove straggling String#quote usage.
String#quote is no more. Fixes :mkvimruntime.
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r--common/modules/base.jsm6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm
index 0d1b97a8..6e67abd2 100644
--- a/common/modules/base.jsm
+++ b/common/modules/base.jsm
@@ -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;
};