Skip to content

Commit

Permalink
errors are suppressed as well if silent
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Mar 25, 2017
1 parent 4e6c76c commit 4333592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
* @param {String} msg
*/
var error = function (msg) {
console.error("[Moon] ERR: " + msg);
if (!Moon.config.silent) console.error("[Moon] ERR: " + msg);
};

/**
Expand Down
Loading

0 comments on commit 4333592

Please sign in to comment.