<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
 * WYMeditor : what you see is What You Mean web-based editor
 * Copyright (c) 2005 - 2009 <NAME>, http://www.wymeditor.org/
 * Dual licensed under the MIT (MIT-license.txt)
 * and GPL (GPL-license.txt) licenses.
 *
 * For further information visit:
 *        http://www.wymeditor.org/
 *
 * File Name:
 *        test.html
 *        WYMeditor unit tests.
 *        See the documentation for more info.
 *
 * File Authors:
 *        <NAME> (jf.hovinne a-t wymeditor dotorg)
 *        <NAME>
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WYMeditor Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />

<script type="text/javascript" src="../load-src.dev.js"></script>

<script type="text/javascript">

    // Read the URL params to allow switching the version of jquery
    // Adapted from qunit.js code
    // To test using jquery 1.6.2 on google's CDN, for example, use:
    // unit/?jquery=1.6.2
    var queryString = window.location.search;
    var params = queryString.slice(1).split("&");
    var length = params.length;
    var urlParams = {};
    var current;
    if (length > 0) {
        for (var i = 0; i < length; i++) {
            current = params[i].split( "=" );
            current[0] = decodeURIComponent(current[0]);
            // allow just a key to turn on a flag, e.g., test.html?noglobals
            current[1] = current[1] ? decodeURIComponent(current[1]) : true;
            urlParams[current[0]] = current[1];
        }
    }

    loadWymSrc(
        '../../',
        [
            // Plugins
            "../../wymeditor/plugins/embed/jquery.wymeditor.embed.js",
            "../../wymeditor/plugins/list/jquery.wymeditor.list.js",
            "../../wymeditor/plugins/table/jquery.wymeditor.table.js",


            "qunit.js",
            "qunit-tap.js",

            // Sinon files
            "../../sinon/sinon-1.7.3.js",
            "../../sinon/sinon-quint-1.0.0.js",

            // Test files
            "utils.js",
            "test.js",
            "lists.js",
            "blocking_elements.js",
            "table_test.js",
            "embed.js"
        ],
        urlParams['jquery']
    );
</script>
<script>
    if (urlParams.tapOutput) {
        // Only provide tap output when ?tapOutput=true
        // When running via phantomJS, use that URL
        qunitTap(QUnit, function() { console.log.apply(console, arguments); }, {noPlan: true});
    }
</script>
</head>
<commit_msg>Refs #407. Fixed white space.<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
 * WYMeditor : what you see is What You Mean web-based editor
 * Copyright (c) 2005 - 2009 <NAME>, http://www.wymeditor.org/
 * Dual licensed under the MIT (MIT-license.txt)
 * and GPL (GPL-license.txt) licenses.
 *
 * For further information visit:
 *        http://www.wymeditor.org/
 *
 * File Name:
 *        test.html
 *        WYMeditor unit tests.
 *        See the documentation for more info.
 *
 * File Authors:
 *        <NAME> (jf.hovinne a-t wymeditor dotorg)
 *        <NAME>
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WYMeditor Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />

<script type="text/javascript" src="../load-src.dev.js"></script>

<script type="text/javascript">

    // Read the URL params to allow switching the version of jquery
    // Adapted from qunit.js code
    // To test using jquery 1.6.2 on google's CDN, for example, use:
    // unit/?jquery=1.6.2
    var queryString = window.location.search;
    var params = queryString.slice(1).split("&");
    var length = params.length;
    var urlParams = {};
    var current;
    if (length > 0) {
        for (var i = 0; i < length; i++) {
            current = params[i].split( "=" );
            current[0] = decodeURIComponent(current[0]);
            // allow just a key to turn on a flag, e.g., test.html?noglobals
            current[1] = current[1] ? decodeURIComponent(current[1]) : true;
            urlParams[current[0]] = current[1];
        }
    }

    loadWymSrc(
        '../../',
        [
            // Plugins
            "../../wymeditor/plugins/embed/jquery.wymeditor.embed.js",
            "../../wymeditor/plugins/list/jquery.wymeditor.list.js",
            "../../wymeditor/plugins/table/jquery.wymeditor.table.js",

            "qunit.js",
            "qunit-tap.js",

            // Sinon files
            "../../sinon/sinon-1.7.3.js",
            "../../sinon/sinon-quint-1.0.0.js",

            // Test files
            "utils.js",
            "test.js",
            "lists.js",
            "blocking_elements.js",
            "table_test.js",
            "embed.js"
        ],
        urlParams['jquery']
    );
</script>
<script>
    if (urlParams.tapOutput) {
        // Only provide tap output when ?tapOutput=true
        // When running via phantomJS, use that URL
        qunitTap(QUnit, function() { console.log.apply(console, arguments); }, {noPlan: true});
    }
</script>
</head>

{'fraction_non_alphanumeric': 0.164257555847569, 'fraction_numerical': 0.01445466491458607, 'mean_word_length': 2.013574660633484, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2066691', 'n_tokens_mistral': 1774, 'n_tokens_neox': 1705, 'n_words': 392}