<commit_before>/* Magic Mirror
 * Module: MMM-Memo
 *
 * By <NAME> @schnibel
 * March 2017
 * MIT Licensed.
 *
 */

 Module.register('MMM-Memo',{

	memos: [],

	defaults: {
		memoMaxItems: 5,
		memoMaxMsgSize: false,
		memoDisplayDuration: false,
		memoDisplayIfEmpty: false,
		memoDisplayId: true,
		memoDisplayHeader: true,
		memoDisplayNotification: false,
		memoColorBackground: 'Yellow',
        memoColorHeader: 'Black',
		memoColorFont: 'Black',
		memoColorWarning: 'Red',
		memoRotation: '0',
		memoWidth: '100px',
		memoHeight: '100px',
		memoPadding: '20px',
		memoFilename: 'MMM-Memo.json',

		format: false,
		memoLevel: {
			WARNING: "exclamation-triangle"
		},
		memoIndex: {
		    CIRCLED_DIGIT_1: "&#x2460;",
		    CIRCLED_DIGIT_2: "&#x2461;",
		    CIRCLED_DIGIT_3: "&#x2462;",
		    CIRCLED_DIGIT_4: "&#x2463;",
		    CIRCLED_DIGIT_5: "&#x2464;",
		    CIRCLED_DIGIT_6: "&#x2465;",
		    CIRCLED_DIGIT_7: "&#x2466;",
		    CIRCLED_DIGIT_8: "&#x2467;",
		    CIRCLED_DIGIT_9: "&#x2468;",
		    CIRCLED_DIGIT_10: "&#x2469;",
		    CIRCLED_DIGIT_11: "&#x246A;",
		    CIRCLED_DIGIT_12: "&#x246B;",
		    CIRCLED_DIGIT_13: "&#x246C;",
		    CIRCLED_DIGIT_14: "&#x246D;",
		    CIRCLED_DIGIT_15: "&#x246E;",
		    CIRCLED_DIGIT_16: "&#x246F;",
		    CIRCLED_DIGIT_17: "&#x2470;",
		    CIRCLED_DIGIT_18: "&#x2471;",
		    CIRCLED_DIGIT_19: "&#x2472;",
		    CIRCLED_DIGIT_20: "&#x2473;"
		},
	},

	getStyles: function () {
        return ['MMM-Memo.css', 'font-awesome.css'];
	},

	getTranslations: function() {
		return {
            en: "translations/en.json",
            fr: "translations/fr.json",
            id: "translations/id.json"
            sv: "translations/sv.json"
		};
	},

	getScripts: function() {
 		return ["moment.js"];
	},
<commit_msg>Forgot a comma...<commit_after>/* Magic Mirror
 * Module: MMM-Memo
 *
 * By <NAME> @schnibel
 * March 2017
 * MIT Licensed.
 *
 */

 Module.register('MMM-Memo',{

	memos: [],

	defaults: {
		memoMaxItems: 5,
		memoMaxMsgSize: false,
		memoDisplayDuration: false,
		memoDisplayIfEmpty: false,
		memoDisplayId: true,
		memoDisplayHeader: true,
		memoDisplayNotification: false,
		memoColorBackground: 'Yellow',
        memoColorHeader: 'Black',
		memoColorFont: 'Black',
		memoColorWarning: 'Red',
		memoRotation: '0',
		memoWidth: '100px',
		memoHeight: '100px',
		memoPadding: '20px',
		memoFilename: 'MMM-Memo.json',

		format: false,
		memoLevel: {
			WARNING: "exclamation-triangle"
		},
		memoIndex: {
		    CIRCLED_DIGIT_1: "&#x2460;",
		    CIRCLED_DIGIT_2: "&#x2461;",
		    CIRCLED_DIGIT_3: "&#x2462;",
		    CIRCLED_DIGIT_4: "&#x2463;",
		    CIRCLED_DIGIT_5: "&#x2464;",
		    CIRCLED_DIGIT_6: "&#x2465;",
		    CIRCLED_DIGIT_7: "&#x2466;",
		    CIRCLED_DIGIT_8: "&#x2467;",
		    CIRCLED_DIGIT_9: "&#x2468;",
		    CIRCLED_DIGIT_10: "&#x2469;",
		    CIRCLED_DIGIT_11: "&#x246A;",
		    CIRCLED_DIGIT_12: "&#x246B;",
		    CIRCLED_DIGIT_13: "&#x246C;",
		    CIRCLED_DIGIT_14: "&#x246D;",
		    CIRCLED_DIGIT_15: "&#x246E;",
		    CIRCLED_DIGIT_16: "&#x246F;",
		    CIRCLED_DIGIT_17: "&#x2470;",
		    CIRCLED_DIGIT_18: "&#x2471;",
		    CIRCLED_DIGIT_19: "&#x2472;",
		    CIRCLED_DIGIT_20: "&#x2473;"
		},
	},

	getStyles: function () {
        return ['MMM-Memo.css', 'font-awesome.css'];
	},

	getTranslations: function() {
		return {
            en: "translations/en.json",
            fr: "translations/fr.json",
            id: "translations/id.json",
            sv: "translations/sv.json"
		};
	},

	getScripts: function() {
 		return ["moment.js"];
	},

{'fraction_non_alphanumeric': 0.17028474767409077, 'fraction_numerical': 0.0670989568649563, 'mean_word_length': 3.2338902147971362, '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': '7164945', 'n_tokens_mistral': 1853, 'n_tokens_neox': 1540, 'n_words': 228}