angelakuo/citydogshare

View on GitHub
public/assets/jquery-ui/widget-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js

Summary

Maintainability
D
2 days
Test Coverage

File widget-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js has 427 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery UI Widget 1.11.4
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors

    Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    $.widget = function( name, base, prototype ) {
        var fullName, existingConstructor, constructor, basePrototype,
            // proxiedPrototype allows the provided prototype to remain unmodified
            // so that it can be used as a mixin for multiple widgets (#8876)
            proxiedPrototype = {},

      Function bridge has 46 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      $.widget.bridge = function( name, object ) {
          var fullName = object.prototype.widgetFullName || name;
          $.fn[ name ] = function( options ) {
              var isMethodCall = typeof options === "string",
                  args = widget_slice.call( arguments, 1 ),

        Function name has 43 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            $.fn[ name ] = function( options ) {
                var isMethodCall = typeof options === "string",
                    args = widget_slice.call( arguments, 1 ),
                    returnValue = this;
        
        

          Function _on has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _on: function( suppressDisabledCheck, element, handlers ) {
                  var delegateElement,
                      instance = this;
          
                  // no suppressDisabledCheck flag, shuffle arguments

            Function option has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                option: function( key, value ) {
                    var options = key,
                        parts,
                        curOption,
                        i;

              Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _createWidget: function( options, element ) {
                      element = $( element || this.defaultElement || this )[ 0 ];
                      this.element = $( element );
                      this.uuid = widget_uuid++;
                      this.eventNamespace = "." + this.widgetName + this.uuid;

                There are no issues that match your filters.

                Category
                Status