<commit_before>goog.require('fontface.Observer');

/**
 * @define {boolean} DEBUG
 */
var DEBUG = true;

window['FontFaceObserver'] = fontface.Observer;
window['FontFaceObserver']['prototype']['check'] = window['FontFaceObserver']['prototype']['load'] = fontface.Observer.prototype.load;

if (typeof module !== 'undefined') {
  module.exports = window['FontFaceObserver'];
}
<commit_msg>Do not export to global namespace if loaded through a module loader. Also remove old and deprecated check method.<commit_after>goog.require('fontface.Observer');

/**
 * @define {boolean} DEBUG
 */
var DEBUG = true;

if (typeof module !== 'undefined') {
  module.exports = window['FontFaceObserver'];
} else {
  window['FontFaceObserver'] = fontface.Observer;
  window['FontFaceObserver']['prototype']['load'] = fontface.Observer.prototype.load;
}
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 6.324561403508772, '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': '3563420', 'n_tokens_mistral': 232, 'n_tokens_neox': 228, 'n_words': 54}