mambax7/extgallery

View on GitHub

Showing 9,653 of 9,653 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

var doc = window.document,
$doc = $( doc ),
$win = $( window ),
 
// native prototypes
Severity: Major
Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 mo to fix
assets/js/galleria/galleria-1.3.5.js on lines 15..1050

Similar blocks of code found in 2 locations. Consider refactoring.
Open

var doc = window.document,
$doc = $( doc ),
$win = $( window ),
 
// native prototypes
Severity: Major
Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 mo to fix
assets/js/galleria/galleria-1.3.3.js on lines 15..1050

Similar blocks of code found in 2 locations. Consider refactoring.
Open

Galleria.Picture.prototype = {
 
// the inherited cache object
cache: {},
 
 
Severity: Major
Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 2 wks to fix
assets/js/galleria/galleria-1.3.3.js on lines 6048..6481

Similar blocks of code found in 2 locations. Consider refactoring.
Open

Galleria.Picture.prototype = {
 
// the inherited cache object
cache: {},
 
 
Severity: Major
Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 2 wks to fix
assets/js/galleria/galleria-1.3.5.js on lines 6069..6502

File galleria-1.3.5.js has 4344 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
* Galleria v 1.3.5 2014-01-25
* http://galleria.io
*
* Licensed under the MIT license
Severity: Major
Found in assets/js/galleria/galleria-1.3.5.js - About 1 wk to fix

    File galleria-1.3.3.js has 4326 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
    * Galleria v 1.3.3 2013-11-18
    * http://galleria.io
    *
    * Licensed under the MIT license
    Severity: Major
    Found in assets/js/galleria/galleria-1.3.3.js - About 1 wk to fix

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      _createThumbnails : function( push ) {
       
      this.get( 'total' ).innerHTML = this.getDataLength();
       
      var src,
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.5.js on lines 3202..3477

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      _createThumbnails : function( push ) {
       
      this.get( 'total' ).innerHTML = this.getDataLength();
       
      var src,
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.3.js on lines 3184..3459

      Identical blocks of code found in 2 locations. Consider refactoring.
      Open

      var carousel = this._carousel = {
       
      // shortcuts
      next: self.$('thumb-nav-right'),
      prev: self.$('thumb-nav-left'),
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.5.js on lines 1264..1428

      Identical blocks of code found in 2 locations. Consider refactoring.
      Open

      var carousel = this._carousel = {
       
      // shortcuts
      next: self.$('thumb-nav-right'),
      prev: self.$('thumb-nav-left'),
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.3.js on lines 1264..1428

      Identical blocks of code found in 2 locations. Consider refactoring.
      Open

      var tooltip = this._tooltip = {
       
      initialized : false,
       
      open: false,
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.5.js on lines 1432..1595

      Identical blocks of code found in 2 locations. Consider refactoring.
      Open

      var tooltip = this._tooltip = {
       
      initialized : false,
       
      open: false,
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.3.js on lines 1432..1595

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      _run : function() {
       
      var self = this;
       
      self._createThumbnails();
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.3.js on lines 3553..3716

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      _run : function() {
       
      var self = this;
       
      self._createThumbnails();
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.5.js on lines 3571..3734

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      show: function(index) {
       
      lightbox.active = index = typeof index === 'number' ? index : self.getIndex() || 0;
       
      if ( !lightbox.initialized ) {
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.3.js on lines 2333..2445

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      show: function(index) {
       
      lightbox.active = index = typeof index === 'number' ? index : self.getIndex() || 0;
       
      if ( !lightbox.initialized ) {
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 1 wk to fix
      assets/js/galleria/galleria-1.3.5.js on lines 2343..2455

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      var complete = (function( data, next, active, queue, thumb ) {
       
      return function() {
       
      var win;
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 6 days to fix
      assets/js/galleria/galleria-1.3.5.js on lines 4904..5038

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      var complete = (function( data, next, active, queue, thumb ) {
       
      return function() {
       
      var win;
      Severity: Major
      Found in assets/js/galleria/galleria-1.3.5.js and 1 other location - About 6 days to fix
      assets/js/galleria/galleria-1.3.3.js on lines 4869..5003

      File galleria-1.1.js has 2189 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
      * Galleria v 1.2 prerelease 1.1 2010-10-29
      * http://galleria.aino.se
      *
      * Copyright (c) 2010, Aino
      Severity: Major
      Found in assets/js/galleria/galleria-1.1.js - About 6 days to fix

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

        load : function( source, selector, config ) {
         
        var self = this,
        o = this._options;
         
         
        Severity: Major
        Found in assets/js/galleria/galleria-1.3.3.js and 1 other location - About 5 days to fix
        assets/js/galleria/galleria-1.3.5.js on lines 3752..3861
        Severity
        Category
        Status
        Source
        Language