<commit_before>mini.Module(
		"assets/converter/fromjson/jsontoworldconverter"
)
.requires(
		"assets/converter/fromjson/jsontobodyconverter"
)
.defines(function() {
	var JsonToWorldConverter = {};

	JsonToWorldConverter.convertJsonToWorld = function(worldJson, world) {
		world = world || new Jello.World();
		
		for(var bodyName in worldJson.bodies) {
			var bodyJson = worldJson.bodies[bodyName];
			Jello.Body.fromJson(bodyJson, world);
		};
		
		return world;
	};

	//add convenient method
	Jello.World.fromJson = function(worldJson, world) {
		return Bloob.JsonToWorldConverter.convertJsonToWorld(worldJson, world);
	};
	
	Bloob.JsonToWorldConverter = JsonToWorldConverter;
	
	return JsonToWorldConverter;
});<commit_msg>clarified dependencies in JsonToWorldConverter<commit_after>mini.Module(
		"assets/converter/fromjson/jsontoworldconverter"
)
.requires(
		"assets/converter/fromjson/jsontobodyconverter"
)
.defines(function(JsonToBodyConverter) {
	var JsonToWorldConverter = {};

	JsonToWorldConverter.convertJsonToWorld = function(worldJson, world) {
		world = world || new Jello.World();
		
		for(var bodyName in worldJson.bodies) {
			var bodyJson = worldJson.bodies[bodyName];
			Jello.Body.fromJson(bodyJson, world);
		};
		
		return world;
	};

	//add convenient method
	Jello.World.fromJson = function(worldJson, world) {
		return JsonToWorldConverter.convertJsonToWorld(worldJson, world);
	};
	
	return JsonToWorldConverter;
});
{'fraction_non_alphanumeric': 0.11479944674965421, 'fraction_numerical': 0.0, 'mean_word_length': 5.291304347826087, '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': '6075717', 'n_tokens_mistral': 514, 'n_tokens_neox': 464, 'n_words': 77}