<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WYMeditor</title>
<!-- jQuery library is required, see http://jquery.com/ -->
<script type="text/javascript" src="wymeditor/jquery/jquery.js"></script>
<!-- WYMeditor main JS file, minified version -->
<script type="text/javascript" src="wymeditor/wymeditor/jquery.wymeditor.js"></script>

<script type="text/javascript" src="http://kevinwells.homeip.net:8082/comet/js/client.js"></script>
<script type="text/javascript" src="http://kevinwells.homeip.net:8082/static/js/collab_client.js"></script>
<script type="text/javascript" src="http://kevinwells.homeip.net:8082/static/js/pad_utils.js"></script>
<script type="text/javascript" src="../policypad.js"></script>
<script type="text/javascript" src="../etherpaddocument.js"></script>
<script type="text/javascript" src="../wymetherpad.js"></script>
<script type="text/javascript" src="../wymetherpadgui.js"></script>
<script type="text/javascript" src="../etherpadplugin.js"></script>

<script type="text/javascript">

/* Here we replace each element with class 'wymeditor'
 * (typically textareas) by a WYMeditor instance.
 * 
 * We could use the 'html' option, to initialize the editor's content.
 * If this option isn't set, the content is retrieved from
 * the element being replaced.
 */

function getQueryParams(qs) {
    qs = qs.split("+").join(" ");
    var params = {};
    var tokens;

    while (tokens = /[?&]?([^=]+)=([^&]*)/g.exec(qs)) {
        params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]);
    }
    return params;
}
var $_GET = getQueryParams(document.location.search);

/* DESIGN DECISION

   Do we want to query the initial html from within the plugin, or do we want to do<commit_msg>Query strings are now correctly parsed<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WYMeditor</title>
<!-- jQuery library is required, see http://jquery.com/ -->
<script type="text/javascript" src="wymeditor/jquery/jquery.js"></script>
<!-- WYMeditor main JS file, minified version -->
<script type="text/javascript" src="wymeditor/wymeditor/jquery.wymeditor.js"></script>

<script type="text/javascript" src="http://kevinwells.homeip.net:8082/comet/js/client.js"></script>
<script type="text/javascript" src="http://kevinwells.homeip.net:8082/static/js/collab_client.js"></script>
<script type="text/javascript" src="http://kevinwells.homeip.net:8082/static/js/pad_utils.js"></script>
<script type="text/javascript" src="../policypad.js"></script>
<script type="text/javascript" src="../etherpaddocument.js"></script>
<script type="text/javascript" src="../wymetherpad.js"></script>
<script type="text/javascript" src="../wymetherpadgui.js"></script>
<script type="text/javascript" src="../etherpadplugin.js"></script>

<script type="text/javascript">

/* Here we replace each element with class 'wymeditor'
 * (typically textareas) by a WYMeditor instance.
 * 
 * We could use the 'html' option, to initialize the editor's content.
 * If this option isn't set, the content is retrieved from
 * the element being replaced.
 */

function getQueryParams(qs) {
    qs = qs.substring(1).split("+").join(" ");
    var params = {};
    var vars = qs.split("&");
    for (var i = 0; i < vars.length; i++) {
      var pair = vars[i].split("=");
      params[pair[0]] = pair[1];
    }
    return params;
}
var $_GET = getQueryParams(document.location.search);

/* DESIGN DECISION

   Do we want to query the initial html from within the plugin, or do we want to do
{'fraction_non_alphanumeric': 0.18340270551508844, 'fraction_numerical': 0.011446409989594173, 'mean_word_length': 4.662739322533137, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3929620', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1240, 'n_words': 284}