fossasia/loklak_webclient

View on GitHub

Showing 566 of 915 total issues

Avoid too many return statements within this function.
Open

              else return false;
Severity: Major
Found in app/js/components/select.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return curr;
    Severity: Major
    Found in app/js/components/select.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return;
      Severity: Major
      Found in app/js/components/select.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return '<li>'
                + body
                + '</li>\n';
        Severity: Major
        Found in app/js/components/marked.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return '<p>An error occured:</p><pre>'
                  + escape(e.message + '', true)
                  + '</pre>';
          Severity: Major
          Found in app/js/components/marked.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return {
                            __promoUri: "http://www.dailymotion.com/video/" + urlMatch[1]
                        };
            Severity: Major
            Found in iframely/plugins/links/promo/og-youtube.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return '<p>'
                      + this.parseText()
                      + '</p>\n';
              Severity: Major
              Found in app/js/components/marked.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return links;
                Severity: Major
                Found in iframely/plugins/links/utils.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return !this.token.pre && !this.options.pedantic
                          ? this.inline.output(this.token.text)
                          : this.token.text;
                  Severity: Major
                  Found in app/js/components/marked.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return '<table>\n'
                            + body
                            + '</table>\n';
                    Severity: Major
                    Found in app/js/components/marked.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return {
                                          __promoUri: "http://link.brightcove." + (/\.co\.jp/.test(video_src) ? 'co.jp' : 'com')+ "/services/player/bcpid" + playerID[1] + "?bctid=" + videoID[1]
                                      };
                      Severity: Major
                      Found in iframely/plugins/links/promo/brightcove-hosted.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return '<blockquote>\n'
                                + body
                                + '</blockquote>\n';
                        Severity: Major
                        Found in app/js/components/marked.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return '<'
                                  + type
                                  + '>\n'
                                  + body
                                  + '</'
                          Severity: Major
                          Found in app/js/components/marked.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return {
                                            __promoUri: "http://www.dailymotion.com/video/" + urlMatch[1]
                                        };
                            Severity: Major
                            Found in iframely/plugins/links/promo/twitter-youtube.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return '<p>'
                                      + this.inline.output(this.token.text)
                                      + '</p>\n';
                              Severity: Major
                              Found in app/js/components/marked.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return Parser.parse(Lexer.lex(src, opt), opt);
                                Severity: Major
                                Found in app/js/components/marked.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return {
                                                  __promoUri: video_src
                                              };
                                  Severity: Major
                                  Found in iframely/plugins/links/promo/brightcove-hosted.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return '<li>'
                                            + body
                                            + '</li>\n';
                                    Severity: Major
                                    Found in app/js/components/marked.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return -1;
                                      Severity: Major
                                      Found in iframely/lib/html-utils.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return 1;
                                        Severity: Major
                                        Found in iframely/lib/html-utils.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language