signals-api
Version:
18 lines (16 loc) • 528 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
var _log = void 0,
_error = Function.prototype.bind.call(console.error, console);
if (process.env.NODE_ENV === 'development') {
// Only run on the first time through -
// reset this function to the appropriate console.log helper
exports._log = _log = Function.prototype.bind.call(console.log, console);
} else {
var placeholder = function placeholder() {};
exports._log = _log = placeholder;
}
exports._log = _log;
exports._error = _error;
;