<commit_before>/**
 * Compile:JS task.
 * Uglify and merge all javascript files in 'Public/Javascripts/Sources/'.
 */

var config = require("../../Config");

module.exports = function(grunt) {
	"use strict";

	grunt.registerTask("compile:js", function() {
		// Optimize all js files if the 'useSingleFileBuild' option is 'false'.
		if(!config.JavaScripts.requireJS.useSingleFileBuild || grunt.option('env') === 'travis') {
			grunt.task.run("uglify:all");
		}

		// Optimize the project via the r.js optimizer.
		grunt.task.run("requirejs");
	});
};

<commit_msg>[BUGFIX] Set the correct sub-task name for the uglify task<commit_after>/**
 * Compile:JS task.
 * Uglify and merge all javascript files in 'Public/Javascripts/Sources/'.
 */

var config = require("../../Config");

module.exports = function(grunt) {
	"use strict";

	grunt.registerTask("compile:js", function() {
		// Optimize all js files if the 'useSingleFileBuild' option is 'false'.
		if(!config.JavaScripts.requireJS.useSingleFileBuild || grunt.option('env') === 'travis') {
			grunt.task.run("uglify:js");
		}

		// Optimize the project via the r.js optimizer.
		grunt.task.run("requirejs");
	});
};


{'fraction_non_alphanumeric': 0.1700854700854701, 'fraction_numerical': 0.0, 'mean_word_length': 4.0257510729613735, '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': '5988663', 'n_tokens_mistral': 415, 'n_tokens_neox': 389, 'n_words': 93}