krafthaus/bauhaus

View on GitHub

Showing 476 of 1,049 total issues

Function showDialog has 91 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        function showDialog() {
            var last = {};

            function updateButtonStates() {
                win.statusbar.find('#next').disabled(!findSpansByIndex(currentIndex + 1).length);
Severity: Major
Found in bower_components/tinymce/plugins/searchreplace/plugin.js - About 3 hrs to fix

    Function trigger has 89 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        trigger: function( event, data, elem, onlyHandlers ) {
            var handle, ontype, cur,
                bubbleType, special, tmp, i,
                eventPath = [ elem || document ],
                type = hasOwn.call( event, "type" ) ? event.type : event,
    Severity: Major
    Found in bower_components/jquery/dist/jquery.js - About 3 hrs to fix

      Function trigger has 89 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          trigger: function( event, data, elem, onlyHandlers ) {
              var handle, ontype, cur,
                  bubbleType, special, tmp, i,
                  eventPath = [ elem || document ],
                  type = hasOwn.call( event, "type" ) ? event.type : event,
      Severity: Major
      Found in bower_components/jquery/src/event.js - About 3 hrs to fix

        Function parseCurrentLine has 89 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function parseCurrentLine(editor, end_offset, delimiter) {
                var rng, end, start, endContainer, bookmark, text, matches, prev, len, rngText;
        
                function scopeIndex(container, index) {
                    if (index < 0) {
        Severity: Major
        Found in bower_components/tinymce/plugins/autolink/plugin.js - About 3 hrs to fix

          Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function Animation( elem, properties, options ) {
              var result,
                  stopped,
                  index = 0,
                  length = animationPrefilters.length,
          Severity: Major
          Found in bower_components/jquery/dist/jquery.js - About 3 hrs to fix

            Function click has 84 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                            click = function (e) {
                                e.stopPropagation();
                                e.preventDefault();
                                picker.unset = false;
                                var target = $(e.target).closest('span, td, th'), month, year, step, day, oldDate = pMoment(picker.date);

              Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function Animation( elem, properties, options ) {
                  var result,
                      stopped,
                      index = 0,
                      length = animationPrefilters.length,
              Severity: Major
              Found in bower_components/jquery/src/effects.js - About 3 hrs to fix

                Function colorPickerCallback has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function colorPickerCallback(callback, value) {
                        function setColor(value) {
                            var color = new tinymce.util.Color(value), rgb = color.toRgb();
                
                            win.fromJSON({
                Severity: Major
                Found in bower_components/tinymce/plugins/colorpicker/plugin.js - About 3 hrs to fix

                  Function dataToHtml has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function dataToHtml(data) {
                          var html = '';
                  
                          if (!data.source1) {
                              tinymce.extend(data, htmlToData(data.embed));
                  Severity: Major
                  Found in bower_components/tinymce/plugins/media/plugin.js - About 3 hrs to fix

                    Function addToolbar has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            function addToolbar(items) {
                                var toolbarItems = [], buttonGroup;
                    
                                if (!items) {
                                    return;
                    Severity: Major
                    Found in public/javascripts/themes/modern/theme.js - About 3 hrs to fix

                      Function addToolbar has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function addToolbar(items) {
                                  var toolbarItems = [], buttonGroup;
                      
                                  if (!items) {
                                      return;
                      Severity: Major
                      Found in bower_components/tinymce/themes/modern/theme.js - About 3 hrs to fix

                        Function setContent has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function setContent(evt) {
                                var startPos, endPos, content = evt.content, headerFragment, styles = '', dom = editor.dom, elm;
                        
                                if (evt.selection) {
                                    return;
                        Severity: Major
                        Found in bower_components/tinymce/plugins/fullpage/plugin.js - About 3 hrs to fix

                          Function renderInlineUI has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function renderInlineUI(args) {
                                  var panel, inlineToolbarContainer;
                          
                                  if (settings.fixed_toolbar_container) {
                                      inlineToolbarContainer = DOM.select(settings.fixed_toolbar_container)[0];
                          Severity: Major
                          Found in public/javascripts/themes/modern/theme.js - About 3 hrs to fix

                            Function renderInlineUI has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function renderInlineUI(args) {
                                    var panel, inlineToolbarContainer;
                            
                                    if (settings.fixed_toolbar_container) {
                                        inlineToolbarContainer = DOM.select(settings.fixed_toolbar_container)[0];
                            Severity: Major
                            Found in bower_components/tinymce/themes/modern/theme.js - About 3 hrs to fix

                              Function showDialog has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function showDialog(templateList) {
                                      var win, values = [], templateHtml;
                              
                                      if (!templateList || templateList.length === 0) {
                                          editor.windowManager.alert('No templates defined');
                              Severity: Major
                              Found in bower_components/tinymce/plugins/template/plugin.js - About 3 hrs to fix

                                Function applyList has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        function applyList(listName) {
                                            var rng = selection.getRng(true), bookmark = createBookmark(rng), listItemName = 'LI';
                                
                                            listName = listName.toUpperCase();
                                
                                
                                Severity: Major
                                Found in bower_components/tinymce/plugins/lists/plugin.js - About 3 hrs to fix

                                  Function createMenuButtons has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function createMenuButtons() {
                                          var name, menuButtons = [];
                                  
                                          function createMenuItem(name) {
                                              var menuItem;
                                  Severity: Major
                                  Found in public/javascripts/themes/modern/theme.js - About 3 hrs to fix

                                    Function createMenuButtons has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function createMenuButtons() {
                                            var name, menuButtons = [];
                                    
                                            function createMenuItem(name) {
                                                var menuItem;
                                    Severity: Major
                                    Found in bower_components/tinymce/themes/modern/theme.js - About 3 hrs to fix

                                      Function Sizzle has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function Sizzle( selector, context, results, seed ) {
                                          var match, elem, m, nodeType,
                                              // QSA vars
                                              i, groups, old, nid, newContext, newSelector;
                                      
                                      
                                      Severity: Major
                                      Found in bower_components/jquery/dist/jquery.js - About 3 hrs to fix

                                        Function Sizzle has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function Sizzle( selector, context, results, seed ) {
                                            var match, elem, m, nodeType,
                                                // QSA vars
                                                i, groups, old, nid, newContext, newSelector;
                                        
                                        
                                        Severity: Major
                                        Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language