Showing 759 of 1,838 total issues
Function _determineButtonType
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_determineButtonType: function () {
if (this.element.is(":checkbox")) {
this.type = "checkbox";
} else {
Function bridge
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.widget.bridge = function (name, object) {
$.fn[name] = function (options) {
var isMethodCall = typeof options === "string",
args = Array.prototype.slice.call(arguments, 1),
returnValue = this;
Method Updates
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function Updates($last, $uid, $followers)
{
$uid = (int)$uid;
$query = '';
$hm = \XoopsModules\Smallworld\Helper::getInstance()->getConfig('msgtoshow');
Function save
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
save: function (data, options) {
// Do nothing if no processing has happened:
if (!data.canvas) {
return data;
}
Function _updateDatepicker
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_updateDatepicker: function(inst) {
this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
datepicker_instActive = inst; // for delegate hover events
inst.dpDiv.empty().append(this._generateHTML(inst));
this._attachHandlers(inst);
Function _mouseStop
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStop: function(event) {
this.resizing = false;
var pr, ista, soffseth, soffsetw, s, left, top,
o = this.options, that = this;
Function formToArray
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.formToArray = function (semantic) {
var a = [];
if (this.length == 0) return a;
var form = this[0];
Function top
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
top: function( position, data ) {
var within = data.within,
withinOffset = within.offset.top + within.scrollTop,
outerHeight = within.height,
offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
Function _refreshItems
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshItems: function(event) {
this.items = [];
this.containers = [this];
Function fixCloneNodeIssues
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fixCloneNodeIssues( src, dest ) {
var nodeName, e, data;
// We do not need to do anything for non-Elements
if ( dest.nodeType !== 1 ) {
Function _size
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_size: function() {
// If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
// divs will both have width and height set, so we need to reset them
var nonContentHeight, minContentHeight, maxContentHeight,
options = this.options;
Function data
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
data: function( key, value ) {
var i, name, data,
elem = this[0],
attrs = elem && elem.attributes;
Function _createRange
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createRange: function() {
var options = this.options,
classes = "";
if ( options.range ) {
Function _addOneSite
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_addOneSite: function(settings, list, display, icon, url, onclick, hint) {
var hintFormat = settings.hint || '{s}';
var html = '<li><a href="' + url + '"' +
(settings.target ? ' target="' + settings.target + '"' : '') + '>';
if (icon !== null) {
Function _normalizeArguments
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _normalizeArguments( effect, options, speed, callback ) {
// allow passing all options as the first parameter
if ( $.isPlainObject( effect ) ) {
options = effect;
Function removeClass
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, clazz, j, finalValue,
i = 0,
len = this.length,
proceed = arguments.length === 0 || typeof value === "string" && value;
Function load
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.load = function( url, params, callback ) {
if ( typeof url !== "string" && _load ) {
return _load.apply( this, arguments );
}
Function addClass
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, clazz, j, finalValue,
i = 0,
len = this.length,
proceed = typeof value === "string" && value;
Function historyLoad
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
historyLoad: function (hash) {
var newhash;
hash = decodeURIComponent(hash.replace(/\?.*$/, ''));
if (xoops_smallworld.browser.safari) {
Function close
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
close: function (event) {
var self = this,
maxZ, thisZ;
if (false === self._trigger('beforeClose', event)) {