<commit_before>module.exports = {
    afterInstall: function () {
        return this.addBowerPackageToProject('bootstrap-select', '^1.9.4')
            .then(function () {
                return this.addBowerPackageToProject('moment', '^2.11.2');
            }.bind(this))
            .then(function () {
                return this.addBowerPackageToProject('eonasdan-bootstrap-datetimepicker', '^4.17.37');
            }.bind(this))
            .then(function () {
                return this.addBowerPackageToProject('ua-parser-js', '^0.7.10');
            }.bind(this));
    }
};
<commit_msg>Further refactor<commit_after>module.exports = {
    afterInstall: function () {
        var addBowerPackageToProject = this.addBowerPackageToProject.bind(this);

        return addBowerPackageToProject('bootstrap-select', '^1.9.4')
            .then(function () {
                return addBowerPackageToProject('moment', '^2.11.2');
            })
            .then(function () {
                return addBowerPackageToProject('eonasdan-bootstrap-datetimepicker', '^4.17.37');
            })
            .then(function () {
                return addBowerPackageToProject('ua-parser-js', '^0.7.10');
            });
    }
};

{'fraction_non_alphanumeric': 0.1511437908496732, 'fraction_numerical': 0.026143790849673203, 'mean_word_length': 2.0934343434343434, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2128120', 'n_tokens_mistral': 374, 'n_tokens_neox': 351, 'n_words': 43}