src/modules/Tint/Module.js
Function Tint
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function Tint(options, UI) {
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
var output;
- Create a ticketCreate a ticket
Function draw
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function draw(input, callback, progressObj) {
var color = options.color || defaults.color;
color = color.substring(color.indexOf('(') + 1, color.length - 1); // extract only the values from rgba(_,_,_,_)
color = color.split(',');
- Create a ticketCreate a ticket