<commit_before>steal(function(){
	can.each = function(elements, callback) {
		var i = 0, key;
		if (typeof  elements.length == 'number' && elements.pop) {
			elements.attr && elements.attr('length');
			for(var len = elements.length; i < len; i++) {
				if(callback(elements[i], i, elements) === false) return elements;
			}
		} else {
			for(key in elements) {
				if(callback(elements[key], key) === false) return elements;
			}
		}
		return elements;
	}
})<commit_msg>Undefined check in can.each.<commit_after>steal(function(){
	can.each = function(elements, callback) {
		var i = 0, key;
    if ( elements ) {
      if (typeof  elements.length == 'number' && elements.pop) {
        elements.attr && elements.attr('length');
        for(var len = elements.length; i < len; i++) {
          if(callback(elements[i], i, elements) === false) return elements;
        }
      } else {
        for(key in elements) {
          if(callback(elements[key], key) === false) return elements;
        }
      }
    }
		return elements;
	}
})
{'fraction_non_alphanumeric': 0.16247582205029013, 'fraction_numerical': 0.0019342359767891683, 'mean_word_length': 2.8764044943820224, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7106257', 'n_tokens_mistral': 352, 'n_tokens_neox': 326, 'n_words': 81}