<commit_before>// warnings: no
/*
---

script: deck.js

description: the main deck importer script.

license: MIT-style license

authors:
- <NAME>

provides: [setup]

...
*/

(function() {

var deck = {
	version: [0, 7, 0]
};

exports.setup = function(global, engineName, options){
	var Deck, path, loadModules, engine, 
		name, klass, module, manifest;

	// Default configurations
	options = options || {};
	path = options.path || '.';
	loadModules = (options.loadModules != undefined) ? options.loadModules : true;
	modulePath = options.modulePath || path + '/modules/';
	enginePath = options.enginePath || path + '/engines/';
	vendorPath = options.vendorPath || path + '/thirdparty/';

	// Hail MooTools!
	require(vendorPath + 'mootools').into(global);

	// The Engine Global
	if ((typeof engineName) === 'object'){
		engine = global.Engine = engineName;
	} else {
		engine = global.Engine = require(enginePath + engineName).engine;
	}

	engine.global = global;
	engine.deckPath = path;<commit_msg>Added undeclared vars.<commit_after>// warnings: no
/*
---

script: deck.js

description: the main deck importer script.

license: MIT-style license

authors:
- <NAME>

provides: [setup]

...
*/

(function() {

var deck = {
	version: [0, 7, 0]
};

exports.setup = function(global, engineName, options){
	var Deck, path, loadModules, modulePath, enginePath,
		vendorPath, engine, name, klass, module, manifest;

	// Default configurations
	options = options || {};
	path = options.path || '.';
	loadModules = (options.loadModules != undefined) ? options.loadModules : true;
	modulePath = options.modulePath || path + '/modules/';
	enginePath = options.enginePath || path + '/engines/';
	vendorPath = options.vendorPath || path + '/thirdparty/';

	// Hail MooTools!
	require(vendorPath + 'mootools').into(global);

	// The Engine Global
	if ((typeof engineName) === 'object'){
		engine = global.Engine = engineName;
	} else {
		engine = global.Engine = require(enginePath + engineName).engine;
	}

	engine.global = global;
	engine.deckPath = path;
{'fraction_non_alphanumeric': 0.15640273704789834, 'fraction_numerical': 0.002932551319648094, 'mean_word_length': 3.9444444444444446, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2703279', 'n_tokens_mistral': 672, 'n_tokens_neox': 660, 'n_words': 172}