<commit_before>// Expose Raven to the world
if (typeof define === 'function' && define.amd) {
    // AMD
    define('raven', [], function() { return Raven; });
} else if (isObject(module)) {
    // CommonJS
    module.exports = Raven;
} else {
    // Everything else
    window.Raven = Raven;
}

})(window);<commit_msg>Added AMD global for plugins per UMDJS and feedback in #261. Added support for strict CommonJS per UMDJS.<commit_after>// Expose Raven to the world
if (typeof define === 'function' && define.amd) {
    // AMD
    define('raven', function(Raven) {
      return (window.Raven = Raven);
    });
} else if (isObject(module)) {
    // browserify
    module.exports = Raven;
} else if (isObject(exports)) {
    // CommonJS
    exports = Raven;
} else {
    // Everything else
    window.Raven = Raven;
}

})(window);
{'fraction_non_alphanumeric': 0.1519903498190591, 'fraction_numerical': 0.0036188178528347406, 'mean_word_length': 2.9523809523809526, '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': '7278228', 'n_tokens_mistral': 269, 'n_tokens_neox': 254, 'n_words': 79}