<commit_before>module.exports = function (grunt) {

    require('load-grunt-tasks')(grunt);

    grunt.initConfig({

        handlebars: {

            compile: {

                options: {
                    amd: ['handlebars', 'handlebars.helpers'],
                    namespace: 'templates',
                    processName: function (path) {
                        return path.match(/([\w]+)\.hbs/)[1];
                    }
                },

                files: {
                    'static/templates/compiled.js': ['src/views/**/*.hbs']
                }

            }

        },

        jasmine: {
            test: {
                options: {
                    specs: 'tests/*.js'
                }
            }
        },

        jshint: {

            server: {
                options: {<commit_msg>Added Handlebars partials support to Gruntfile.<commit_after>module.exports = function (grunt) {

    require('load-grunt-tasks')(grunt);

    grunt.initConfig({

        handlebars: {

            compile: {

                options: {
                    amd: ['handlebars', 'handlebars.helpers'],
                    namespace: 'templates',
                    partialRegex: /.*/,
                    partialsPathRegex: /\/partials\//,
                    processName: function (path) {
                        return path.match(/([\w]+)\.hbs/)[1];
                    }
                },

                files: {
                    'static/templates/compiled.js': ['src/views/**/*.hbs']
                }

            }

        },

        jasmine: {
            test: {
                options: {
                    specs: 'tests/*.js'
                }
            }
        },

        jshint: {

            server: {
                options: {
{'fraction_non_alphanumeric': 0.12941176470588237, 'fraction_numerical': 0.0011204481792717086, 'mean_word_length': 0.8839662447257384, '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': '1815610', 'n_tokens_mistral': 493, 'n_tokens_neox': 437, 'n_words': 66}