Showing 759 of 1,838 total issues
Function access
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
length = elems.length,
bulk = key == null;
Function pulsate
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectPulsate = $.effects.effect.pulsate = function( o, done ) {
var elem = $( this ),
mode = $.effects.setMode( elem, o.mode || "show" ),
show = mode === "show",
hide = mode === "hide",
Function dispatch
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event );
Function effect
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
effect: function( /* effect, options, speed, callback */ ) {
var args = _normalizeArguments.apply( this, arguments ),
mode = args.mode,
queue = args.queue,
effectMethod = $.effects.effect[ args.effect ];
Function clone
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
var destElements, node, clone, i, srcElements,
inPage = jQuery.contains( elem.ownerDocument, elem );
if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
Function showHide
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showHide( elements, show ) {
var display, elem, hidden,
values = [],
index = 0,
length = elements.length;
Function send
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send = function () {
that._sending += 1;
// Set timer for bitrate progress calculation:
options._bitrateTimer = new that._BitrateTimer();
jqXHR = jqXHR || (
Function _resetButton
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_resetButton: function () {
if (this.type === "input") {
if (this.options.label) {
this.element.val(this.options.label);
}
Function _possibleChars
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_possibleChars: function (format) {
var chars = '';
var literal = false;
// Check whether a format character is doubled
var lookAhead = function (match) {
Function _position
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_position: function (position) {
var myAt = [],
offset = [0, 0],
isVisible;
Method eventCoreHeaderAddmeta
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function eventCoreHeaderAddmeta()
{
//Load language if not defined
smallworld_isDefinedLanguage('_SMALLWORLD_SYSERROR', 'main.php');
Function _createButtons
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons: function (buttons) {
var self = this,
hasButtons = false,
uiDialogButtonPane = $('<div></div>')
.addClass(
Method handle_file_upload
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function handle_file_upload($uploaded_file, $name, $size, $type, $error)
{
global $xoopsUser;
$file = new stdClass();
$db = new SmallWorldDB;
Method create_thumbnail
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function create_thumbnail($file_name)
{
$file_path = $this->upload_dir . $file_name;
$thumbnail_path = $this->thumbnails_dir . $file_name;
list($img_width, $img_height) = @getimagesize($file_path);
Method create_thumbnail
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function create_thumbnail($file_name)
{
$file_path = $this->upload_dir . $file_name;
$thumbnail_path = $this->thumbnails_dir . $file_name;
list($img_width, $img_height) = @getimagesize($file_path);
Function initGalleryEvents
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initGalleryEvents: function () {
var $this = this,
modal = this.$element;
modal.find('.modal-image').on('click.modal-gallery', function (e) {
var modalImage = $(this);
Function loadImage
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
loadImage: function () {
var $this = this,
modal = this.$element,
index = this.options.index,
url = this.getUrl(this.$links[index]),
Function _slide
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_slide: function( event, index, newVal ) {
var otherVal,
newValues,
allowed;
Function _makeDraggable
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeDraggable: function() {
var that = this,
options = this.options;
function filteredUi( ui ) {
Function _eventHandler
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_eventHandler: function( event ) {
var options = this.options,
active = this.active,
anchor = $( event.currentTarget ),
tab = anchor.closest( "li" ),