forked from enviPath/enviPy
Current Dev State
This commit is contained in:
18
static/js/ketcher2/node_modules/gulp-uglify/lib/log.js
generated
vendored
Normal file
18
static/js/ketcher2/node_modules/gulp-uglify/lib/log.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
var hasLog = require('has-gulplog');
|
||||
var each = require('lodash/fp/forEach');
|
||||
|
||||
var levels = ['debug', 'info', 'warn', 'error'];
|
||||
|
||||
each(
|
||||
function(level) {
|
||||
module.exports[level] = function() {
|
||||
if (hasLog()) {
|
||||
var log = require('gulplog');
|
||||
|
||||
log[level].apply(log, arguments);
|
||||
}
|
||||
};
|
||||
},
|
||||
levels
|
||||
);
|
||||
Reference in New Issue
Block a user