<commit_before>/* ========================================================
 * bootstrap-progressbar v0.4.0
 * ========================================================
 * Copyright 2012 minddust.com
 *
 * bootstrap-progressbar is published under Apache License,
 * Version 2.0 (see LICENSE file).
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 * ======================================================== */

function($){

    "use strict";

    /* PROGRESSBAR CLASS DEFINITION
     * ============================ */

    var Progressbar = function (element, options) {
        this.element = $(element);
        this.options = $.extend({}, $.fn.progressbar.defaults, options);
        this.transition();
    };

    Progressbar.prototype = {

        constructor: Progressbar

        , transition: function () {
            var $this = this.element
                , $parent = $this.parent()
                , options = this.options
                , percentage = $this.attr('data-percentage')
                , amount_part = $this.attr('data-amount-part')
                , amount_total = $this.attr('data-amount-total')
                , callback

            if ( options.use_percentage && !percentage ) return
            else if ( !options.use_percentage ) {
                if ( !amount_part && !amount_total )
                    return
                else {<commit_msg>reverted changes which accidentally have been commited<commit_after>/* ========================================================
 * bootstrap-progressbar v0.4.0
 * ========================================================
 * Copyright 2012 minddust.com
 *
 * bootstrap-progressbar is published under Apache License,
 * Version 2.0 (see LICENSE file).
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 * ======================================================== */

!function( $ ){

    "use strict"

    /* PROGRESSBAR CLASS DEFINITION
     * ============================ */

    var Progressbar = function ( element, options ) {
        this.element = $(element)
        this.options = $.extend({}, $.fn.progressbar.defaults, options)
        this.transition()
    };

    Progressbar.prototype = {

        constructor: Progressbar

        , transition: function () {
            var $this = this.element
                , $parent = $this.parent()
                , options = this.options
                , percentage = $this.attr('data-percentage')
                , amount_part = $this.attr('data-amount-part')
                , amount_total = $this.attr('data-amount-total')
                , callback

            if ( options.use_percentage && !percentage ) return
            else if ( !options.use_percentage ) {
                if ( !amount_part && !amount_total )
                    return
                else {
{'fraction_non_alphanumeric': 0.24518201284796573, 'fraction_numerical': 0.007851534618129907, 'mean_word_length': 2.2860492379835873, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2609080', 'n_tokens_mistral': 729, 'n_tokens_neox': 656, 'n_words': 140}