Scribe.js/examples/sub-without_new_console.js

16 lines
284 B
JavaScript
Raw Normal View History

2014-10-23 22:03:48 +02:00
(function () {
//By default, the module access global.console
//so it doesn't break dependencies logging
module.exports = {
2014-12-20 10:09:14 +01:00
2014-10-23 22:03:48 +02:00
saySomething : function (msg) {
msg = "Without new console - " + msg;
console.log(msg);
}
};
}());