<commit_before>JAWR.loader.insert = function(bundles,func,mappingToUse,path,media) {

	for(var x = 0; x < bundles.length; x++){	
		if(bundles[x].belongsToBundle(path) && !this.usedBundles[bundles[x].name]){		
			var bundle =  bundles[x];
			this.usedBundles[bundle.name] = true;
			var pathtoRender = this.normalizePath(mappingToUse +'/'+ bundle.name);
			if(!bundle.itemPathList) {
				if(bundle.ieExpression)
					this.insertCondComment(bundle.ieExpression,func,pathtoRender,media);
				else this[func](pathtoRender,media);		
			}
			else{
				for(var i = 0; i < bundle.itemPathList.length; i++){
					var pathLink = this.addRandomParam(this.normalizePath(mappingToUse +'/'+bundle.itemPathList[i]));
					if(bundle.ieExpression)
						this.insertCondComment(bundle.ieExpression,func,pathLink,media);
					else this[func](pathLink);
				}<commit_msg>Issue #174 : "media" parameter not taking in account in debughandler.js<commit_after>JAWR.loader.insert = function(bundles,func,mappingToUse,path,media) {

	for(var x = 0; x < bundles.length; x++){	
		if(bundles[x].belongsToBundle(path) && !this.usedBundles[bundles[x].name]){		
			var bundle =  bundles[x];
			this.usedBundles[bundle.name] = true;
			var pathtoRender = this.normalizePath(mappingToUse +'/'+ bundle.name);
			if(!bundle.itemPathList) {
				if(bundle.ieExpression)
					this.insertCondComment(bundle.ieExpression,func,pathtoRender,media);
				else this[func](pathtoRender,media);		
			}
			else{
				for(var i = 0; i < bundle.itemPathList.length; i++){
					var pathLink = this.addRandomParam(this.normalizePath(mappingToUse +'/'+bundle.itemPathList[i]));
					if(bundle.ieExpression)
						this.insertCondComment(bundle.ieExpression,func,pathLink,media);
					else this[func](pathLink,media);
				}
{'fraction_non_alphanumeric': 0.14949037372593432, 'fraction_numerical': 0.003963759909399773, 'mean_word_length': 4.7745098039215685, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5564881', 'n_tokens_mistral': 720, 'n_tokens_neox': 603, 'n_words': 87}