<commit_before>/* NODE MODULES */
var eventEmitter = require('events').EventEmitter,
    emit = require('../emit'),
    on = require('../on');

/** LOCAL OBJECT
 * @property {object} maps - The set of event mapping namespaces
 */
var FACTORY = {
	maps: {}
}; 

/** MODULE INTERFACE 
 * @method {function} - 
 */
module.exports = {
    createInterface: createInterface,
    createEmitter: createEmitter
}

/*----------------------------------------------------------------------------*/

/** 
 * @param
 * @returns
 */
function createInterface(mapping) {
    var newEventerface = {
        map: mapping
    };

    return newEventerface;
}

/** Creates a new event emitter object by attaching custom handlers and methods
 * @param {string} mapping - The event mapping system to be used
 * @returns {object} mappedEmitter - The new, mapped event emitter object
 */
function createEmitter(mapping) {
	var tempEmitter = new eventEmitter(),
        mappedEmitter;
    
    emit.bind(tempEmitter, mapping);
    on.bind(tempEmitter, mapping);

    mappedEmitter = {
    	emit: tempEmitter.emit,
    	on: tempEmitter.on
    };

    return mappedEmitter;
}
<commit_msg>Removed the #createInterface method.<commit_after>/* NODE MODULES */
var eventEmitter = require('events').EventEmitter,
    emit = require('../emit'),
    on = require('../on');

/** MODULE INTERFACE 
 * @method {function} createEmitter - Creates an event emitter in a given mapping context
                                      by attaching custom handlers and methods
 */
module.exports = {
    createEmitter: createEmitter
}

/*----------------------------------------------------------------------------*/

/** Creates an event emitter in a given mapping context by attaching custom handlers and methods
 * @param {string} mapping - The event mapping system where the emitter will be created
 * @returns {object} mappedEmitter - The new, mapped event emitter object
 */
function createEmitter(mapping) {
	var tempEmitter = new eventEmitter(),
        mappedEmitter;
    
    emit.bind(tempEmitter, mapping);
    on.bind(tempEmitter, mapping);

    mappedEmitter = {
    	emit: tempEmitter.emit,
    	on: tempEmitter.on
    };

    return mappedEmitter;
}
{'fraction_non_alphanumeric': 0.17312894499549145, 'fraction_numerical': 0.0, 'mean_word_length': 2.3621212121212123, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5586757', 'n_tokens_mistral': 580, 'n_tokens_neox': 593, 'n_words': 183}