<commit_before>/*jshint node:true*/
"use strict";

module.exports = function( grunt ) {
  var js;

  // Project configuration.
  grunt.initConfig( {
    pkg: grunt.file.readJSON( 'package.json' ),
    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      all: [ 'Gruntfile.js', 'src/js/**/*.js', '!src/js/extern.js' ]
    },
    jasmine: {
      test: {
        src: 'src/**/*.js',
        options: {
          specs: 'test/spec/*.js',
          helpers: [ 'test/util/*.js', 'test/mock/*.js' ],
          template: require('grunt-template-jasmine-requirejs'),
          templateOptions: {
            requireConfig: {
              baseUrl: 'lib',
              paths: {
                app:   '../src/js' //fails without trailing slash
              },
              shim: {
                'xpath/build/xpathjs_javarosa': {
                  exports: 'XPathJS'
                },
                'bootstrap-datepicker/js/bootstrap-datepicker': {
                  deps: [ 'jquery' ],
                  exports: 'jQuery.fn.datepicker'
                },<commit_msg>another attempt to resolve issue running tests in Travis<commit_after>/*jshint node:true*/
"use strict";

module.exports = function( grunt ) {
  var js;

  // Project configuration.
  grunt.initConfig( {
    pkg: grunt.file.readJSON( 'package.json' ),
    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      all: [ 'Gruntfile.js', 'src/js/**/*.js', '!src/js/extern.js' ]
    },
    jasmine: {
      test: {
        src: 'src/**/*.js',
        options: {
          specs: 'test/spec/*.js',
          helpers: [ 'test/util/*.js', 'test/mock/*.js' ],
          template: require('grunt-template-jasmine-requirejs'),
          templateOptions: {
            requireConfig: {
              baseUrl: './lib/',
              paths: {
                app:   '../src/js/' //fails without trailing slash
              },
              shim: {
                'xpath/build/xpathjs_javarosa': {
                  exports: 'XPathJS'
                },
                'bootstrap-datepicker/js/bootstrap-datepicker': {
                  deps: [ 'jquery' ],
                  exports: 'jQuery.fn.datepicker'
                },
{'fraction_non_alphanumeric': 0.15711060948081265, 'fraction_numerical': 0.0, 'mean_word_length': 1.4486187845303868, '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': '7265725', 'n_tokens_mistral': 708, 'n_tokens_neox': 673, 'n_words': 118}