Showing 6 of 52 total issues
File node_spec.js
has 723 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require("./spec_helper")
describe("$dom", function(){
describe("hasClass", function(){
it("whithout the class", function(){
File node.js
has 352 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function( stik ){
stik.boundary({
as: "$elm",
resolvable: true,
to: function( $template, $dom ){
Function serializeForm
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function serializeForm( form, asObj ){
var i, j, q;
if (!form || form.nodeName !== "FORM") {
return;
}
Function exports
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt){
var srcFiles = [
'src/module.js',
'src/node.js',
'src/form.js'
Function insertAdjacentHTML
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HTMLElement.prototype.insertAdjacentHTML = function(position, html) {
"use strict";
var ref = this,
container = ref.ownerDocument.createElementNS("http://www.w3.org/1999/xhtml", "_"),
Avoid deeply nested control flow statements. Open
Open
if (form.elements[i].options[j].selected) {
q.push(form.elements[i].name + "=" + encodeURIComponent(form.elements[i].options[j].value));
}