<commit_before>/*
  backgrid
  http://github.com/wyuenho/backgrid

  Copyright (c) 2013 <NAME> and contributors
  Licensed under the MIT license.
*/

// jshint globalstrict:true, node:true

"use strict";

module.exports = function (grunt) {

  grunt.initConfig({

    pkg: grunt.file.readJSON("package.json"),

    clean: {
      options: {
        force: true
      },
      lib: [
        "lib/*.js",
        "lib/*.css"
      ],
      api: [
        "api/**/*"
      ],
      default: [
        "api/**/*",
        "lib/*.js",
        "lib/*.css"
      ]
    },
    concat: {
      backgrid: {
        options: {
          banner: '/*!\n  <%= pkg.name %>\n' +
            '  <%= pkg.repository.url %>\n\n' +
            '  Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
            '  Licensed under the MIT license.\n' +
            '*/\n\n' +
            '(function (factory) {\n\n' +
            '  // CommonJS\n' +
            '  if (typeof exports == "object") {\n' +
            '    var root = {};\n' +
            '    factory(root,\n' +
            '            require("underscore"),\n' +
            '            require("backbone"));\n' +
            '    module.exports = root.Backgrid;\n' +
            '  }\n' +
            '  // Browser\n' +
            '  else if (typeof _ !== "undefined" &&\n' +
            '    typeof Backbone !== "undefined") {\n' +
            '    factory(window, _, Backbone);\n' +
            '  }\n' +
            '}(function (root, _, Backbone) {\n\n  \"use strict\";\n',
          footer: "}));"
        },
        src: [
          "src/preamble.js",
          "src/formatter.js",
          "src/cell.js",
          "src/column.js",
          "src/row.js",
          "src/header.js",
          "src/body.js",
          "src/footer.js",
          "src/grid.js"
        ],<commit_msg>Revert "Fixed importing into commonJS environment"<commit_after>/*
  backgrid
  http://github.com/wyuenho/backgrid

  Copyright (c) 2013 <NAME> and contributors
  Licensed under the MIT license.
*/

// jshint globalstrict:true, node:true

"use strict";

module.exports = function (grunt) {

  grunt.initConfig({

    pkg: grunt.file.readJSON("package.json"),

    clean: {
      options: {
        force: true
      },
      lib: [
        "lib/*.js",
        "lib/*.css"
      ],
      api: [
        "api/**/*"
      ],
      default: [
        "api/**/*",
        "lib/*.js",
        "lib/*.css"
      ]
    },
    concat: {
      backgrid: {
        options: {
          banner: '/*!\n  <%= pkg.name %>\n' +
            '  <%= pkg.repository.url %>\n\n' +
            '  Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
            '  Licensed under the MIT license.\n' +
            '*/\n\n' +
            '(function (factory) {\n\n' +
            '  // CommonJS\n' +
            '  if (typeof exports == "object") {\n' +
            '    module.exports = factory(module.exports,\n' +
            '                             require("underscore"),\n' +
            '                             require("backbone"));\n' +
            '  }\n' +
            '  // Browser\n' +
            '  else if (typeof _ !== "undefined" &&\n' +
            '    typeof Backbone !== "undefined") {\n' +
            '    factory(window, _, Backbone);\n' +
            '  }\n' +
            '}(function (root, _, Backbone) {\n\n  \"use strict\";\n',
          footer: "}));"
        },
        src: [
          "src/preamble.js",
          "src/formatter.js",
          "src/cell.js",
          "src/column.js",
          "src/row.js",
          "src/header.js",
          "src/body.js",
          "src/footer.js",
          "src/grid.js"
        ],
{'fraction_non_alphanumeric': 0.18946519752754637, 'fraction_numerical': 0.002149959688255845, 'mean_word_length': 1.257125530624621, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7075570', 'n_tokens_mistral': 1262, 'n_tokens_neox': 1206, 'n_words': 213}