<commit_before>{% load dajaxice_templatetags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<title>dajaxproject.com - Examples</title>
	<script src="http://www.google.com/jsapi"></script>
    <script>
    
    // Load Prototype
    google.load("prototype", "1.6.0.3");
    //google.load("jquery", "1.3.2");
    //google.load("mootools", "1.2.1");
    //google.load("dojo", "1.3.1");
    
    /**
    Callback test
    **/
    
    function my_callback(data){
        alert(data+' received from server');
    }
    
    </script>

<script src="http://xmlhttprequest.googlecode.com/svn/trunk/source/XMLHttpRequest.js" type="text/javascript" charset="utf-8"></script>
    {% dajaxice_js_import %}

<script type="text/javascript" charset="utf-8">
    var Dajax = Class.create();
	Dajax.prototype = {
    
    initialize:function(){},
    process: function(data)
    {
        data.each(function(elem){
            switch(elem.cmd)
            {
                case 'alert':
                    alert(elem.val)
                break;
        
                case 'data':
                    eval( elem.fun+"(elem.val);" );
                break;<commit_msg>Fixing #1<commit_after>{% load dajaxice_templatetags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<title>dajaxproject.com - Examples</title>
	<script src="http://www.google.com/jsapi"></script>
    <script>
    
    // Load Prototype
    google.load("prototype", "1.6.0.3");
    //google.load("jquery", "1.3.2");
    //google.load("mootools", "1.2.1");
    //google.load("dojo", "1.3.1");
    
    /**
    Callback test
    **/
    
    function my_callback(data){
        alert(data+' received from server');
    }
    
    </script>

    {% dajaxice_js_import %}

<script type="text/javascript" charset="utf-8">
    var Dajax = Class.create();
	Dajax.prototype = {
    
    initialize:function(){},
    process: function(data)
    {
        data.each(function(elem){
            switch(elem.cmd)
            {
                case 'alert':
                    alert(elem.val)
                break;
        
                case 'data':
                    eval( elem.fun+"(elem.val);" );
                break;
{'fraction_non_alphanumeric': 0.18344094189137866, 'fraction_numerical': 0.020508925180402583, 'mean_word_length': 2.1658653846153846, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 5}, 'pii_count': 2, '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': '1790094', 'n_tokens_mistral': 951, 'n_tokens_neox': 887, 'n_words': 134}