Showing 3 of 5 total issues
Function middleware
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
middleware: function (type, name) {
var task,
trans,
pipe;
Function exports
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (product_id) {
// example: input validation
console.log('product id: ' + product_id);
if (!product_id) {
return this.task();
Function react
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
react: function (name, dynamic) {
var CX = this;
return function () {
var component,
componentFactory,