<commit_before>###
 * BreadcrumbsEatr - jQuery plugin that transforms a breadcrumbs to a responsive one. Useful when making responsive websites.
 * Copyright(c) <NAME> <<EMAIL>>
 * Licensed under MIT
 * Version 1.2.0
### 
(($, window, document, undefined_) ->
    "use strict"

    pluginName = 'breadcrumbsEatr'
    defaults =
        activeClass:            'active'
        debounceResize:
            enabled: false
            time:    200
        dropdownWrapperClass:   "#{ pluginName.toLowerCase() }-dropdown-wrapper"
        enhanceAnimation:       true
        exposeItems:            false
        holder:
            klass:      "#{ pluginName.toLowerCase() }-holder"
            hoverClass: "#{ pluginName.toLowerCase() }-holder-hovered"
            listClass:  "#{ pluginName.toLowerCase() }-hidden-list"
            text:       '...'
        dropdownAnimation:
            showEasing:   'swing'
            hideEasing:   'swing'
            showDuration: 400
            hideDuration: 400
            onBeforeShow: (obj) ->
            onShow:       (obj) ->
            onAfterShow:  (obj) ->
            onBeforeHide: (obj) ->
            onHide:       (obj) ->
            onAfterHide:  (obj) ->
        hoverTimeout:           500
        smartCompressionTime:   200
        wrapperClass:           "#{ pluginName.toLowerCase() }-wrapper"
        wrappedClass:           "#{ pluginName.toLowerCase() }-wrapped"
        onBeforeCompress:       (obj) ->
        onCompress:             (obj) ->
        onAfterCompress:        (obj) ->
        onBeforeDecompress:     (obj) ->
        onDecompress:           (obj) ->
        onAfterDecompress:      (obj) ->
        onBeforeLoad:           (obj) ->
        onLoad:                 (obj) ->
        onAfterLoad:            (obj) ->
        onDestroy:              (obj) ->

    BreadcrumbsEatr = (el, options) ->
        o         = ($ el).data '_obj', {}
        _this     = this
        metadata  = ($ el).data "#{ pluginName.toLowerCase() }-options"

        o.debug = ->
            # Skip browsers w/o firebug or console
            if console and $.isFunction(console.log)
                return false if arguments.length < 1

                args = []

                for n of arguments
                    args.push arguments[n]
                    args.push " >> "

                args.push(o.el) if args.length is 1
                args.push "[#{ pluginName }]"

                console.log.apply console, args

        o.error = ->
            # Skip browsers w/o firebug or console
            if console and $.isFunction(console.log)
                return false if arguments.length < 1

                args = []

                for n of arguments
                    args.push arguments[n] + (" >> ")

                args.push(o.el) if args.length is 1
                args.push "[#{ pluginName }]"

                console.error.apply console, args

        # Initialize Properties and States Plugin
        o.init = ->
            # check if underscore.js is required.
            if typeof window._ is "undefined"
                o.error 'underscore.js is required.'

                return false

            if typeof window.Modernizr is "undefined"
                o.error 'Modernizr is required.'

                return false
<commit_msg>add check for how many items does the breadcrumb has and if it less than or equal to two it should be disabled<commit_after>###
 * BreadcrumbsEatr - jQuery plugin that transforms a breadcrumbs to a responsive one. Useful when making responsive websites.
 * Copyright(c) <NAME> <<EMAIL>>
 * Licensed under MIT
 * Version 1.2.0
### 
(($, window, document, undefined_) ->
    "use strict"

    pluginName = 'breadcrumbsEatr'
    defaults =
        activeClass:            'active'
        debounceResize:
            enabled: false
            time:    200
        dropdownWrapperClass:   "#{ pluginName.toLowerCase() }-dropdown-wrapper"
        enhanceAnimation:       true
        exposeItems:            false
        holder:
            klass:      "#{ pluginName.toLowerCase() }-holder"
            hoverClass: "#{ pluginName.toLowerCase() }-holder-hovered"
            listClass:  "#{ pluginName.toLowerCase() }-hidden-list"
            text:       '...'
        dropdownAnimation:
            showEasing:   'swing'
            hideEasing:   'swing'
            showDuration: 400
            hideDuration: 400
            onBeforeShow: (obj) ->
            onShow:       (obj) ->
            onAfterShow:  (obj) ->
            onBeforeHide: (obj) ->
            onHide:       (obj) ->
            onAfterHide:  (obj) ->
        hoverTimeout:           500
        smartCompressionTime:   200
        wrapperClass:           "#{ pluginName.toLowerCase() }-wrapper"
        wrappedClass:           "#{ pluginName.toLowerCase() }-wrapped"
        onBeforeCompress:       (obj) ->
        onCompress:             (obj) ->
        onAfterCompress:        (obj) ->
        onBeforeDecompress:     (obj) ->
        onDecompress:           (obj) ->
        onAfterDecompress:      (obj) ->
        onBeforeLoad:           (obj) ->
        onLoad:                 (obj) ->
        onAfterLoad:            (obj) ->
        onDestroy:              (obj) ->

    BreadcrumbsEatr = (el, options) ->
        o         = ($ el).data '_obj', {}
        _this     = this
        metadata  = ($ el).data "#{ pluginName.toLowerCase() }-options"

        o.debug = ->
            # Skip browsers w/o firebug or console
            if console and $.isFunction(console.log)
                return false if arguments.length < 1

                args = []

                for n of arguments
                    args.push arguments[n]
                    args.push " >> "

                args.push(o.el) if args.length is 1
                args.push "[#{ pluginName }]"

                console.log.apply console, args

        o.error = ->
            # Skip browsers w/o firebug or console
            if console and $.isFunction(console.log)
                return false if arguments.length < 1

                args = []

                for n of arguments
                    args.push arguments[n] + (" >> ")

                args.push(o.el) if args.length is 1
                args.push "[#{ pluginName }]"

                console.error.apply console, args

        # Initialize Properties and States Plugin
        o.init = ->
            # check if underscore.js is required.
            if typeof window._ is "undefined"
                o.error 'underscore.js is required.'

                return false

            if typeof window.Modernizr is "undefined"
                o.error 'Modernizr is required.'

                return false

            if o.el.children('li').length <= 2
                o.debug 'Breadcrumbs should have at least 3 crumbs or more!'

                return false

{'fraction_non_alphanumeric': 0.10193753614806246, 'fraction_numerical': 0.006651243493348756, 'mean_word_length': 1.3487266553480475, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1059752', 'n_tokens_mistral': 1871, 'n_tokens_neox': 1797, 'n_words': 479}