<commit_before><?php 

class TemplateParams_Tweet {
    
    private $_eeTemplate;

    public function __construct(EE_Template $eeTemplate) {
        $this->_eeTemplate = $eeTemplate;
    }
    function getType() {
        return $this->_eeTemplate->fetch_param('type', 'iframe');
    }
    function getUrl() {
        return $this->_eeTemplate->fetch_param('url');
    }
    function getCountUrl(){
        return $this->_eeTemplate->fetch_param('count_url', NULL);
    }
    function getVia(){
        return $this->_eeTemplate->fetch_param('via', NULL);
    }
    function getText(){
        return $this->_eeTemplate->fetch_param('text', NULL);
    }
    function getCountPosition(){
        return $this->_eeTemplate->fetch_param('count_position', NULL);
    }
    function getRelatedAccts(){
        return $this->_eeTemplate->fetch_param('related');
    }
    function getCssClass(){
        return $this->_eeTemplate->fetch_param('class');
    }
    function getCssId(){
        return $this->_eeTemplate->fetch_param('id');
    }
    function getLinkText(){
        return $this->_eeTemplate->fetch_param('link_text', 'Tweet');
    }
    function getLang(){
        return $this->_eeTemplate->fetch_param('language', 'en');
    }
    public function getIncludeJs() {
        return $this->_eeTemplate->fetch_param('include_js', 'yes') == 'yes';
    }
    
}<commit_msg>Made Tweet button default to JS version<commit_after><?php 

class TemplateParams_Tweet {
    
    private $_eeTemplate;

    public function __construct(EE_Template $eeTemplate) {
        $this->_eeTemplate = $eeTemplate;
    }
    function getType() {
        return $this->_eeTemplate->fetch_param('type', 'js');
    }
    function getUrl() {
        return $this->_eeTemplate->fetch_param('url');
    }
    function getCountUrl(){
        return $this->_eeTemplate->fetch_param('count_url', NULL);
    }
    function getVia(){
        return $this->_eeTemplate->fetch_param('via', NULL);
    }
    function getText(){
        return $this->_eeTemplate->fetch_param('text', NULL);
    }
    function getCountPosition(){
        return $this->_eeTemplate->fetch_param('count_position', NULL);
    }
    function getRelatedAccts(){
        return $this->_eeTemplate->fetch_param('related');
    }
    function getCssClass(){
        return $this->_eeTemplate->fetch_param('class');
    }
    function getCssId(){
        return $this->_eeTemplate->fetch_param('id');
    }
    function getLinkText(){
        return $this->_eeTemplate->fetch_param('link_text', 'Tweet');
    }
    function getLang(){
        return $this->_eeTemplate->fetch_param('language', 'en');
    }
    public function getIncludeJs() {
        return $this->_eeTemplate->fetch_param('include_js', 'yes') == 'yes';
    }
    
}
{'fraction_non_alphanumeric': 0.14964028776978416, 'fraction_numerical': 0.0, 'mean_word_length': 3.0598540145985402, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 53, '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': '5280700', 'n_tokens_mistral': 812, 'n_tokens_neox': 804, 'n_words': 144}