<commit_before><?
/*
 * jQuery UI is an interface to jQueryUI widgets. 

 * by romans
 */
class jUI_widget extends AbstractController {
    private $active=false;
    function init(){
        parent::init();
        $this->api->jui
            ->addInclude('ui.atk4_'.basename($this->short_name))
            ;
    }
    function activate($tag=null,$param=null){
        if($this->active)return;
        if(!$tag)$tag=".".$this->short_name;
        $this->api->jui->addOnReady('$("'.$tag.'").atk4_'.$this->short_name.'('.($param?"{".addslashes($param)."}":'').')');
        $this->active=true;
    }
}
class jUI_widget_todo extends jUI_widget {
    function init(){
        parent::init();
        $this->api->template->append('Content','<div class="todo_frame" title="TODO list">Loading....</div>blah');
    }
}
class jUI extends AbstractController {
    public $dir=null;
    private $theme=false;

    function init(){
        parent::init();<commit_msg>whops... remove "blah"<commit_after><?
/*
 * jQuery UI is an interface to jQueryUI widgets. 

 * by romans
 */
class jUI_widget extends AbstractController {
    private $active=false;
    function init(){
        parent::init();
        $this->api->jui
            ->addInclude('ui.atk4_'.basename($this->short_name))
            ;
    }
    function activate($tag=null,$param=null){
        if($this->active)return;
        if(!$tag)$tag=".".$this->short_name;
        $this->api->jui->addOnReady('$("'.$tag.'").atk4_'.$this->short_name.'('.($param?"{".addslashes($param)."}":'').')');
        $this->active=true;
    }
}
class jUI_widget_todo extends jUI_widget {
    function init(){
        parent::init();
        $this->api->template->append('Content','<div class="todo_frame" title="TODO list">Loading....</div>');
    }
}
class jUI extends AbstractController {
    public $dir=null;
    private $theme=false;

    function init(){
        parent::init();
{'fraction_non_alphanumeric': 0.1995831162063575, 'fraction_numerical': 0.0020844189682126106, 'mean_word_length': 2.9669421487603307, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 35, 'https://': 0, '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': '4170347', 'n_tokens_mistral': 614, 'n_tokens_neox': 615, 'n_words': 101}