<commit_before>defineModule("Camera", function (require, exports) {

	var mNative;
	exports.onLoad = function (nativeObject) {
		mNative = nativeObject;
		console.log("Camera object loaded: ");
		console.dir(_.keys(nativeObject));
	};
	

	
	function prepareConfig(config) {
	    var api = require("api-utils");
        api.normalizeAPI({    
            'function': {
                mandatory: ['onSuccess'],
                optional: ['onError', 'onCancel']
            },
            'number': {
            	optional: ['targetWidth', 'targetHeight']
            },
            'string': {
            	// if no filename is specified then we should 
            	// hand back a dropbox key
                optional: ['filename']
            }
        }, config);
        config = _.clone(config);
        
        // TODO add mediaType<commit_msg>removed logging.<commit_after>defineModule("Camera", function (require, exports) {

	var mNative;
	exports.onLoad = function (nativeObject) {
		mNative = nativeObject;
	};
	

	
	function prepareConfig(config) {
	    var api = require("api-utils");
        api.normalizeAPI({    
            'function': {
                mandatory: ['onSuccess'],
                optional: ['onError', 'onCancel']
            },
            'number': {
            	optional: ['targetWidth', 'targetHeight']
            },
            'string': {
            	// if no filename is specified then we should 
            	// hand back a dropbox key
                optional: ['filename']
            }
        }, config);
        config = _.clone(config);
        
        // TODO add mediaType
{'fraction_non_alphanumeric': 0.1236923076923077, 'fraction_numerical': 0.0, 'mean_word_length': 1.6612111292962357, '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': '1556981', 'n_tokens_mistral': 433, 'n_tokens_neox': 415, 'n_words': 102}