data/asistente/js/rainbow.js
File rainbow.js
has 296 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Copyright 2013 Craig Campbell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Function _processPattern
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _processPattern(regex, pattern, code, callback)
{
var match = regex.exec(code);
if (!match) {
Function processGroup
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
processGroup = function(i, group_keys, callback) {
if (i >= group_keys.length) {
return callback(replacement);
}