app/assets/javascripts/jquery.query-object.js
Function query
has 211 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.query = new function() {
var is = function(o, t) {
return o != undefined && o !== null && (!!t ? o.constructor == t : true);
};
var parse = function(path) {
Function set
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var set = function(target, tokens, value) {
var o, token = tokens.shift();
if (typeof target != 'object') target = null;
if (token === "") {
if (!target) target = [];
Function toString
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toString: function() {
var i = 0, queryString = [], chunks = [], self = this;
var encode = function(str) {
str = str + "";
str = encodeURIComponent(str);
Avoid deeply nested control flow statements. Open
Open
for (var i = 0; i < target.length; ++i) {
temp[i] = target[i];
}