<commit_before><?php
/**
 * ClipIt - JuxtaLearn Web Space
 * PHP version:     >= 5.2
 * Creation date:   14/05/14
 * Last update:     14/05/14
 * @author          <NAME> <<EMAIL>>, URJC JuxtaLearn Project
 * @version         $Version$
 * @link            http://www.juxtalearn.eu
 * @license         GNU Affero General Public License v3
 * @package         ClipIt
 */

$entity = elgg_extract("entity", $vars);
$activity = elgg_extract("activity", $vars);
$tags = $entity->tag_array;
$tricky_topic_view = elgg_view("tricky_topic/preview", array('activity' => $activity));
?>
<script>
    $(function(){
        $('#my-rating .rating').raty({
            width: "",
            scoreName: function(){
                var performance_id = $(this).data("performance-id");
                var input = $(this).find("input");
                input.prop({"required": true, "type": "text"});
                return "performance_rating["+performance_id+"]";
            },
            starOff : 'fa-star fa empty',
            starOn  : 'fa-star fa',
            click: function(score, evt) {
                var input = $(this).find("input");
                input.removeClass("error");
                $("label[for='"+input.attr("name")+"'] > span").remove();
            }
        });
        $(".enable-comment label").click(function(){
            var text = $(this).closest(".checking").find("textarea").show();
            text.click();<commit_msg>29/09/2014 14:52<commit_after><?php
/**
 * ClipIt - JuxtaLearn Web Space
 * PHP version:     >= 5.2
 * Creation date:   14/05/14
 * Last update:     14/05/14
 * @author          <NAME> <<EMAIL>>, URJC JuxtaLearn Project
 * @version         $Version$
 * @link            http://www.juxtalearn.eu
 * @license         GNU Affero General Public License v3
 * @package         ClipIt
 */

$entity = elgg_extract("entity", $vars);
$activity = elgg_extract("activity", $vars);
$tags = $entity->tag_array;
$tricky_topic_view = elgg_view("tricky_topic/preview", array('activity' => $activity));
?>
<script>
    $(function(){
        $('#my-rating .rating').raty({
            width: "",
            scoreName: function(){
                var performance_id = $(this).data("performance-id");
                var input = $(this).find("input");
                input.prop({"required": true, "type": "text"});
                return "performance_rating["+performance_id+"]";
            },
            starOff : 'fa-star fa empty',
            starOn  : 'fa-star fa',
            click: function(score, evt) {
                var input = $(this).find("input");
                input.removeClass("error");
                $("label[for='"+input.attr("name")+"'] > span").remove();
            }
        });
        $(".enable-comment label").click(function(){
            var text = $(this).closest(".checking").find("textarea");
            if($(this).closest(".checking").find("iframe").length == 0){
                text.show().click();
            }

{'fraction_non_alphanumeric': 0.18102581293999329, 'fraction_numerical': 0.014415018437814281, 'mean_word_length': 2.073120494335736, 'pattern_counts': {'":': 4, '<': 13, '<?xml version=': 0, '>': 21, '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': '5045039', 'n_tokens_mistral': 918, 'n_tokens_neox': 861, 'n_words': 174}