<commit_before>package com.commafeed.frontend.references.bootstrap;

import java.util.Arrays;

import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.HeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.request.Url;
import org.apache.wicket.request.resource.UrlResourceReference;

import com.commafeed.frontend.references.jquery.JQueryReference;

public class BootstrapReference extends UrlResourceReference {

	private static final long serialVersionUID = 1L;

	public static final BootstrapReference INSTANCE = new BootstrapReference();

	public BootstrapReference() {
		super(
				Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"));
	}

	@SuppressWarnings("unchecked")
	@Override
	public Iterable<? extends HeaderItem> getDependencies() {
		return Arrays
				.asList(JavaScriptHeaderItem
						.forReference(JQueryReference.INSTANCE),
						CssHeaderItem.forReference(new UrlResourceReference(
								Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css"))),
						CssHeaderItem.forReference(new UrlResourceReference(
								Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css"))));
	}

	public static void renderHead(final IHeaderResponse response) {
		response.render(JavaScriptHeaderItem.forReference(INSTANCE));
	}

}<commit_msg>downgrade bootstrap, fix firefox middle click (see https://github.com/twitter/bootstrap/issues/7118)<commit_after>package com.commafeed.frontend.references.bootstrap;

import java.util.Arrays;

import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.HeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.request.Url;
import org.apache.wicket.request.resource.UrlResourceReference;

import com.commafeed.frontend.references.jquery.JQueryReference;

public class BootstrapReference extends UrlResourceReference {

	private static final long serialVersionUID = 1L;

	public static final BootstrapReference INSTANCE = new BootstrapReference();

	public BootstrapReference() {
		super(
				Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.js"));
	}

	@SuppressWarnings("unchecked")
	@Override
	public Iterable<? extends HeaderItem> getDependencies() {
		return Arrays
				.asList(JavaScriptHeaderItem
						.forReference(JQueryReference.INSTANCE),
						CssHeaderItem.forReference(new UrlResourceReference(
								Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.no-icons.min.css"))),
						CssHeaderItem.forReference(new UrlResourceReference(
								Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css"))));
	}

	public static void renderHead(final IHeaderResponse response) {
		response.render(JavaScriptHeaderItem.forReference(INSTANCE));
	}

}
{'fraction_non_alphanumeric': 0.11425812681042806, 'fraction_numerical': 0.007724493080141615, 'mean_word_length': 5.434782608695652, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, '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': '2500961', 'n_tokens_mistral': 1041, 'n_tokens_neox': 932, 'n_words': 135}