Showing 5 of 9 total issues
File main.js
has 275 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jQuery', '_', 'Backbone'], factory);
} else {
Function getFieldsFromFieldsString
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getFieldsFromFieldsString: function(fieldsString){
var self = this;
return fieldsString.match(/[^&]+(?=\{)\{\S+\}|[^&]+/g).map(function(field){
Function exports
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
grunt.initConfig({
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return false;