Showing 679 of 1,357 total issues
Function objectType
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
objectType: function( obj ) {
if (typeof obj === "undefined") {
return "undefined";
// consider: typeof null === object
Function addClass
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classNames, i, l, elem,
setClass, c, cl;
if ( jQuery.isFunction( value ) ) {
Function setup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setup: function() {
if ( rformElems.test( this.nodeName ) ) {
// IE doesn't fire change on a check/radio until blur; trigger it on click
// after a propertychange. Eat the blur-change in special.change.handle.
Method start
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def start
require ENV_PATH
unless ARGV.include?('-p') || ARGV.include?('--port')
ARGV << '-p'
Method pba
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def pba( text_in, element = "" )
return '' unless text_in
style = []
Function cloneFixAttributes
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cloneFixAttributes( src, dest ) {
var nodeName;
// We do not need to do anything for non-Elements
if ( dest.nodeType !== 1 ) {
Function handle
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handle: function( event ) {
event = jQuery.event.fix( event || window.event );
// Snapshot the handlers list since a called handler may add/remove events.
var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []).slice(0),
run_all = !event.exclusive && !event.namespace,
Function >
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
">": function( checkSet, part ) {
var elem,
isPartStr = typeof part === "string",
i = 0,
l = checkSet.length;
Function toggleClass
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggleClass: function( value, stateVal ) {
var type = typeof value,
isBool = typeof stateVal === "boolean";
if ( jQuery.isFunction( value ) ) {
Function find
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sizzle.find = function( expr, context, isXML ) {
var set;
if ( !expr ) {
return [];
Function scale
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.scale = function(o) {
return this.queue(function() {
// Create element
Function widget
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.widget = function( name, base, prototype ) {
var namespace = name.split( "." )[ 0 ],
fullName;
name = name.split( "." )[ 1 ];
fullName = namespace + "-" + name;
Function _normalizeArguments
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _normalizeArguments(effect, options, speed, callback) {
// shift params for method overloading
if (typeof effect == 'object') {
callback = options;
speed = null;
Function scale
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.scale = function(o) {
return this.queue(function() {
// Create element
Function object
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"object": function (b, a) {
var i, j, loop;
var eq = true; // unless we can proove it
var aProperties = [], bProperties = []; // collection of strings
Function widget
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.widget = function( name, base, prototype ) {
var namespace = name.split( "." )[ 0 ],
fullName;
name = name.split( "." )[ 1 ];
fullName = namespace + "-" + name;
Function _normalizeArguments
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _normalizeArguments(effect, options, speed, callback) {
// shift params for method overloading
if (typeof effect == 'object') {
callback = options;
speed = null;
Function >
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
">": function( checkSet, part ) {
var elem,
isPartStr = typeof part === "string",
i = 0,
l = checkSet.length;
Function buildFragment
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.buildFragment = function( args, nodes, scripts ) {
var fragment, cacheable, cacheresults, doc,
first = args[ 0 ];
// nodes may contain either an explicit document object,
Function fire
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fire = function( context, args ) {
args = args || [];
memory = !flags.memory || [ context, args ];
fired = true;
firing = true;