Permalink
Browse files

Added option to disable default message logs

  • Loading branch information...
d-faure authored and rpl committed Jun 11, 2013
1 parent ae420e5 commit d58bb2eeeddca79610355979a2115b64dceff898
Showing with 4 additions and 1 deletion.
  1. +3 −1 chrome/content/server.js
  2. +1 −0 defaults/preferences/mozrepl.js
View
@@ -218,6 +218,8 @@ function setContextWindowType(windowType) {
// ----------------------------------------------------------------------
function log(msg) {
dump(msg + '\n');
if(! pref.getBoolPref('noLog')) {
dump(msg + '\n');
}
}
@@ -6,3 +6,4 @@ pref("extensions.mozrepl.version", "");
pref("extensions.mozrepl.defaultInteractor", "javascript");
pref("extensions.mozrepl.interactor.javascript.printWelcome", true);
pref("extensions.mozrepl.startingContext", "");
pref("extensions.mozrepl.noLog", false);

0 comments on commit d58bb2e

Please sign in to comment.