<commit_before>/*global module:false*/
module.exports = function (grunt) {

  grunt.initConfig({
    /**
     * Variable initialized with the contents of the package.json file
     */
    pkg: grunt.file.readJSON('package.json'),

    /**
     * Meta information used in different tasks
     */
    meta: {
      /**
       * Copyright and license banner
       */
      woodman: 'Woodman - v<%= pkg.version %> - ' +
        '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
        ' Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
        ' MIT license\n' +
        ' <%= pkg.homepage %>\n',
      log4j: 'Based on log4j v2.0:\n' +
        ' Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.\n' +
        ' Apache License, Version 2.0\n' +
        ' http://logging.apache.org/log4j/2.x/\n',
      almond: 'Includes Almond 0.2.3:\n' +
        ' Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved\n' +
        ' Available via the MIT or new BSD license\n' +
        ' http://github.com/jrburke/almond\n',
      socketio: 'Includes Socket.IO.js build:0.9.11, development\n' +
        ' Copyright(c) 2011 LearnBoost <<EMAIL>>\n' +
        ' MIT Licensed\n',
      log4javascript: 'Portions adapted from log4javascript:\n' +
        ' Copyright <NAME>\n' +
        ' Apache License, Version 2.0\n' +
        ' http://log4javascript.org/\n',
      fullBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '\n<%= meta.almond %>' +
        '\n<%= meta.socketio %>' +
        '\n<%= meta.log4javascript %>' +
        '*/\n',
      disabledBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '*/\n',
      consoleBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '\n<%= meta.almond %>' +
        '\n<%= meta.log4javascript %>' +
        '*/\n'
    },


    /**
     * Ensures source code follows code guidelines
     */
    jshint: {
      options: {
        indent: 2,
        evil: true,
        regexdash: true,
        browser: true,
        wsh: false,
        trailing: true,
        sub: true,
        undef: true,
        eqeqeq: true,<commit_msg>Grunt build: added a "built with RequireJS r.js optimizer" message<commit_after>/*global module:false*/
module.exports = function (grunt) {

  grunt.initConfig({
    /**
     * Variable initialized with the contents of the package.json file
     */
    pkg: grunt.file.readJSON('package.json'),

    /**
     * Meta information used in different tasks
     */
    meta: {
      /**
       * Copyright and license banner
       */
      woodman: 'Woodman - v<%= pkg.version %> - ' +
        '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
        ' Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
        ' MIT license\n' +
        ' <%= pkg.homepage %>\n',
      log4j: 'Based on log4j v2.0\n' +
        ' Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.\n' +
        ' Apache License, Version 2.0\n' +
        ' http://logging.apache.org/log4j/2.x/\n',
      requirejs: 'Built with RequireJS optimizer r.js 2.1.2\n' +
        ' Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.\n' +
        ' new BSD or MIT licensed\n' +
        ' http://github.com/jrburke/requirejs\n',
      almond: 'Includes Almond 0.2.3\n' +
        ' Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved\n' +
        ' Available via the MIT or new BSD license\n' +
        ' http://github.com/jrburke/almond\n',
      socketio: 'Includes Socket.IO.js build:0.9.11, development\n' +
        ' Copyright(c) 2011 LearnBoost <<EMAIL>>\n' +
        ' MIT Licensed\n',
      log4javascript: 'Portions adapted from log4javascript\n' +
        ' Copyright <NAME>\n' +
        ' Apache License, Version 2.0\n' +
        ' http://log4javascript.org/\n',
      fullBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '\n<%= meta.requirejs %>' +
        '\n<%= meta.almond %>' +
        '\n<%= meta.socketio %>' +
        '\n<%= meta.log4javascript %>' +
        '*/\n',
      disabledBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '\n<%= meta.requirejs %>' +
        '*/\n',
      consoleBanner: '/*!\n' +
        '<%= meta.woodman %>' +
        '\n<%= meta.log4j %>' +
        '\n<%= meta.requirejs %>' +
        '\n<%= meta.almond %>' +
        '\n<%= meta.log4javascript %>' +
        '*/\n'
    },


    /**
     * Ensures source code follows code guidelines
     */
    jshint: {
      options: {
        indent: 2,
        evil: true,
        regexdash: true,
        browser: true,
        wsh: false,
        trailing: true,
        sub: true,
        undef: true,
        eqeqeq: true,
{'fraction_non_alphanumeric': 0.1804262362921581, 'fraction_numerical': 0.021311814607903993, 'mean_word_length': 1.828554710356934, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 44, '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': '856092', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1613, 'n_words': 354}