angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Consider simplifying this complex logical expression.
Open

                    if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                        curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                        while (
                            (backgroundColor === "" || backgroundColor === "transparent") &&
                            curElem && curElem.style

    Consider simplifying this complex logical expression.
    Open

                if ( ( this.options.values.length === 2 && this.options.range === true ) &&
                        ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) )
                    ) {
                    newVal = otherVal;
                }

      Consider simplifying this complex logical expression.
      Open

          if ( o.mode === "toggle" && mode === "show" ) {
              el.from = o.to || zero;
              el.to = o.from || original;
          } else {
              el.from = o.from || ( mode === "show" ? zero : original );

        Consider simplifying this complex logical expression.
        Open

                            if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                while (
                                    (backgroundColor === "" || backgroundColor === "transparent") &&
                                    curElem && curElem.style

          Consider simplifying this complex logical expression.
          Open

                              if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                  curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                  while (
                                      (backgroundColor === "" || backgroundColor === "transparent") &&
                                      curElem && curElem.style

            Consider simplifying this complex logical expression.
            Open

                                if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                    curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                    while (
                                        (backgroundColor === "" || backgroundColor === "transparent") &&
                                        curElem && curElem.style

              Consider simplifying this complex logical expression.
              Open

                                  if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                      curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                      while (
                                          (backgroundColor === "" || backgroundColor === "transparent") &&
                                          curElem && curElem.style

                Consider simplifying this complex logical expression.
                Open

                                    if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                        curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                        while (
                                            (backgroundColor === "" || backgroundColor === "transparent") &&
                                            curElem && curElem.style

                  Consider simplifying this complex logical expression.
                  Open

                                      if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                          curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                          while (
                                              (backgroundColor === "" || backgroundColor === "transparent") &&
                                              curElem && curElem.style

                    Consider simplifying this complex logical expression.
                    Open

                        if ( o.mode === "toggle" && mode === "show" ) {
                            el.from = o.to || zero;
                            el.to = o.from || original;
                        } else {
                            el.from = o.from || ( mode === "show" ? zero : original );

                      Consider simplifying this complex logical expression.
                      Open

                          if ( o.mode === "toggle" && mode === "show" ) {
                              el.from = o.to || zero;
                              el.to = o.from || original;
                          } else {
                              el.from = o.from || ( mode === "show" ? zero : original );

                        Consider simplifying this complex logical expression.
                        Open

                                            if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                while (
                                                    (backgroundColor === "" || backgroundColor === "transparent") &&
                                                    curElem && curElem.style

                          Consider simplifying this complex logical expression.
                          Open

                                              if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                  curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                  while (
                                                      (backgroundColor === "" || backgroundColor === "transparent") &&
                                                      curElem && curElem.style

                            Consider simplifying this complex logical expression.
                            Open

                                                if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                    curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                    while (
                                                        (backgroundColor === "" || backgroundColor === "transparent") &&
                                                        curElem && curElem.style

                              Consider simplifying this complex logical expression.
                              Open

                                                  if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                      curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                      while (
                                                          (backgroundColor === "" || backgroundColor === "transparent") &&
                                                          curElem && curElem.style

                                Consider simplifying this complex logical expression.
                                Open

                                                    if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                        curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                        while (
                                                            (backgroundColor === "" || backgroundColor === "transparent") &&
                                                            curElem && curElem.style

                                  Consider simplifying this complex logical expression.
                                  Open

                                      if ( o.mode === "toggle" && mode === "show" ) {
                                          el.from = o.to || zero;
                                          el.to = o.from || original;
                                      } else {
                                          el.from = o.from || ( mode === "show" ? zero : original );

                                    Consider simplifying this complex logical expression.
                                    Open

                                                        if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                            curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                            while (
                                                                (backgroundColor === "" || backgroundColor === "transparent") &&
                                                                curElem && curElem.style

                                      Consider simplifying this complex logical expression.
                                      Open

                                              if ( isFlippedBase && !hasEnabledWeekdays && ( ( !hasEnabledAfterTarget && interval > 0 ) || ( !hasEnabledBeforeTarget && interval < 0 ) ) ) {
                                                  interval *= -1
                                              }

                                        Consider simplifying this complex logical expression.
                                        Open

                                                        if (
                                                            _.isInteger( unitToDisable ) ||
                                                            _.isDate( unitToDisable ) ||
                                                            $.isArray( unitToDisable ) ||
                                                            ( $.isPlainObject( unitToDisable ) && unitToDisable.from && unitToDisable.to )
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language