Showing 759 of 1,838 total issues
Function open
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function( event ) {
var that = this,
target = $( event ? event.target : this.element )
// we need closest here due to mouseover bubbling,
// but always pointing at the same event target
Function datareturn
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
datareturn: function (results) {
if (!results['og:title'] && results['title'] && results['description'])
results['og:title'] = results['title'];
if (!results['og:title'] && !results['title'])
Function name
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn[name] = function (options) {
var isMethodCall = typeof options === "string",
args = Array.prototype.slice.call(arguments, 1),
returnValue = this;
Function _initButtonBarEventHandlers
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initButtonBarEventHandlers: function () {
var fileUploadButtonBar = this.element.find('.fileupload-buttonbar'),
filesList = this.options.filesContainer;
this._on(fileUploadButtonBar.find('.start'), {
click: function (e) {
Function cancel
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cancel: function () {
var self = this;
if (this.dragging) {
Method doCheckUpdate
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function doCheckUpdate()
{
global $pathIcon16;
$version = $this->ModuleInstallVersion();
$critical = false;
Function Smallworld_attachAvatarOpen
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Smallworld_attachAvatarOpen() {
// Open comment and update avatar imagen in new window on click
xoops_smallworld(function () {
xoops_smallworld('.smallworld_big_face, .smallworld_small_face, .smallworldAttImg').css('cursor', 'pointer');
xoops_smallworld('.smallworld_big_face, .smallworld_small_face, .smallworldAttImg').on('click', function (event) {
Function _determineButtonType
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_determineButtonType: function() {
var ancestor, labelSelector, checked;
if ( this.element.is("[type=checkbox]") ) {
this.type = "checkbox";
Function stop
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function( event ) {
var that = $(this).resizable( "instance" ),
o = that.options,
pr = that._proportionallyResizeElements,
ista = pr.length && (/textarea/i).test(pr[0].nodeName),
Function handlers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handlers: function( event, handlers ) {
var sel, handleObj, matches, i,
handlerQueue = [],
delegateCount = handlers.delegateCount,
cur = event.target;
Function promise
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.ready.promise = function( obj ) {
if ( !readyList ) {
readyList = jQuery.Deferred();
Function _createButtons
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons: function() {
var that = this,
buttons = this.options.buttons;
// if we already have a button pane, remove it
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function attr
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var hooks, ret,
nType = elem.nodeType;
// don't get/set attributes on text, comment and attribute nodes
Function create
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create: function (dialog) {
if (this.instances.length === 0) {
// prevent use of anchors and inputs
// we use a setTimeout in case the overlay is created from an
// event that we're going to be cancelling (see #2804)
Function _attachments
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attachments: function (input, inst) {
var appendText = this._get(inst, 'appendText');
var isRTL = this._get(inst, 'isRTL');
if (inst.append)
inst.append.remove();
Function drag
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function (event, ui) {
var i = $(this).data("draggable"), o = i.options, scrolled = false;
if (i.scrollParent[0] != document && i.scrollParent[0].tagName != 'HTML') {
Function clip
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.clip = function (o) {
return this.queue(function () {
// Create element
Function shake
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.shake = function (o) {
return this.queue(function () {
// Create element
Function pulsate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.pulsate = function (o) {
return this.queue(function () {
var elem = $(this),
mode = $.effects.setMode(elem, o.options.mode || 'show');
times = ((o.options.times || 5) * 2) - 1;