krafthaus/bauhaus

View on GitHub

Showing 476 of 1,049 total issues

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

    fix: function( event ) {
        if ( event[ jQuery.expando ] ) {
            return event;
        }

Severity: Minor
Found in bower_components/jquery/src/event.js - About 1 hr to fix

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

        finish: function( type ) {
            if ( type !== false ) {
                type = type || "fx";
            }
            return this.each(function() {
    Severity: Minor
    Found in bower_components/jquery/src/effects.js - About 1 hr to fix

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

              function walk(node) {
                  var name = node.name, currentNode = node;
      
                  if (name === 'br') {
                      text += '\n';
      Severity: Minor
      Found in bower_components/tinymce/plugins/paste/plugin.js - About 1 hr to fix

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

                function createBookmark(rng) {
                    var bookmark = {};
        
                    function setupEndPoint(start) {
                        var offsetNode, container, offset;
        Severity: Minor
        Found in bower_components/tinymce/plugins/lists/plugin.js - About 1 hr to fix

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

                      function hasSideContent(element, left) {
                          var container, offset, walker, node, len;
          
                          container = rng.startContainer;
                          offset = rng.startOffset;
          Severity: Minor
          Found in bower_components/tinymce/plugins/noneditable/plugin.js - About 1 hr to fix

            Function renderUI has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                self.renderUI = function(args) {
                    var skin = settings.skin !== false ? settings.skin || 'lightgray' : false;
            
                    if (skin) {
                        var skinUrl = settings.skin_url;
            Severity: Minor
            Found in public/javascripts/themes/modern/theme.js - About 1 hr to fix

              Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      setup: function() {
              
                          if ( rformElems.test( this.nodeName ) ) {
                              // IE doesn't fire change on a check/radio until blur; trigger it on click
                              // after a propertychange. Eat the blur-change in special.change.handle.
              Severity: Minor
              Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function propFilter( props, specialEasing ) {
                    var index, name, easing, value, hooks;
                
                    // camelCase, specialEasing and expand cssHook pass
                    for ( index in props ) {
                Severity: Minor
                Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                  Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          setup: function() {
                  
                              if ( rformElems.test( this.nodeName ) ) {
                                  // IE doesn't fire change on a check/radio until blur; trigger it on click
                                  // after a propertychange. Eat the blur-change in special.change.handle.
                  Severity: Minor
                  Found in bower_components/jquery/src/event.js - About 1 hr to fix

                    Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function propFilter( props, specialEasing ) {
                        var index, name, easing, value, hooks;
                    
                        // camelCase, specialEasing and expand cssHook pass
                        for ( index in props ) {
                    Severity: Minor
                    Found in bower_components/jquery/src/effects.js - About 1 hr to fix

                      Function outdentSelection has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function outdentSelection() {
                                  var listElements = getSelectedListItems();
                      
                                  if (listElements.length) {
                                      var bookmark = createBookmark(selection.getRng(true));
                      Severity: Minor
                      Found in bower_components/tinymce/plugins/lists/plugin.js - About 1 hr to fix

                        Function renderUI has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            self.renderUI = function(args) {
                                var skin = settings.skin !== false ? settings.skin || 'lightgray' : false;
                        
                                if (skin) {
                                    var skinUrl = settings.skin_url;
                        Severity: Minor
                        Found in bower_components/tinymce/themes/modern/theme.js - About 1 hr to fix

                          Function getDateTime has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function getDateTime(fmt, date) {
                                  function addZeros(value, len) {
                                      value = "" + value;
                          
                                      if (value.length < len) {
                          Severity: Minor
                          Found in bower_components/tinymce/plugins/insertdatetime/plugin.js - About 1 hr to fix

                            Function onSubmitCellForm has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                        function onSubmitCellForm() {
                                            updateStyle(dom, this);
                                            data = Tools.extend(data, this.toJSON());
                            
                                            editor.undoManager.transact(function() {
                            Severity: Minor
                            Found in bower_components/tinymce/plugins/table/plugin.js - About 1 hr to fix

                              Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  offset: function( options ) {
                                      if ( arguments.length ) {
                                          return options === undefined ?
                                              this :
                                              this.each(function( i ) {
                              Severity: Minor
                              Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    off: function( types, selector, fn ) {
                                        var handleObj, type;
                                        if ( types && types.preventDefault && types.handleObj ) {
                                            // ( event )  dispatched jQuery.Event
                                            handleObj = types.handleObj;
                                Severity: Minor
                                Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                  Function * has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          "*": [ function( prop, value ) {
                                              var tween = this.createTween( prop, value ),
                                                  target = tween.cur(),
                                                  parts = rfxnum.exec( value ),
                                                  unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
                                  Severity: Minor
                                  Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                    Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        off: function( types, selector, fn ) {
                                            var handleObj, type;
                                            if ( types && types.preventDefault && types.handleObj ) {
                                                // ( event )  dispatched jQuery.Event
                                                handleObj = types.handleObj;
                                    Severity: Minor
                                    Found in bower_components/jquery/src/event.js - About 1 hr to fix

                                      Function dataToOptions has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                      dataToOptions = function () {
                                                          var eData
                                                          if (picker.element.is('input')) {
                                                              eData = picker.element.data();
                                                          }

                                        Function * has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                "*": [ function( prop, value ) {
                                                    var tween = this.createTween( prop, value ),
                                                        target = tween.cur(),
                                                        parts = rfxnum.exec( value ),
                                                        unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
                                        Severity: Minor
                                        Found in bower_components/jquery/src/effects.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language