<commit_before><?php
// Author: <NAME> - http://www.mesuva.com.au
namespace Concrete\Package\MsvTable;
use Package;
use BlockType;
use AssetList;
use Asset;

class Controller extends Package {

    protected $pkgHandle = 'msv_table';
    protected $appVersionRequired = '5.7.3';
    protected $pkgVersion = '0.9.2';

    public function getPackageDescription() {
        return t("A block to quickly enter and display tabular data.");
    }

    public function getPackageName() {
        return t("Table Block");
    }

    public function install() {
        $pkg = parent::install();
        $this->configurePackage($pkg);
    }


    public function configurePackage($pkg) {
        $blk = BlockType::getByHandle('msv_table');
        if(!is_object($blk) ) {
            BlockType::installBlockTypeFromPackage('msv_table', $pkg);
        }
    }

    public function on_start() {
        $al = AssetList::getInstance();

        $al->register( 'javascript', 'handsontable', 'js/handsontable.full.min.js', array('version' => '0.12.2', 'position' => Asset::ASSET_POSITION_FOOTER, 'minify' => false, 'combine' => false), $this );
        $al->register( 'css', 'handsontable', 'css/handsontable.full.min.css', array('version' => '0.12.2', 'position' => Asset::ASSET_POSITION_HEADER, 'minify' => false, 'combine' => false), $this );
        $al->registerGroup('handsontable',

            array(
                array('javascript', 'handsontable'),
                array('css', 'handsontable'),
            )
        );

    }


}<commit_msg>Recent adjustments<commit_after><?php
// Author: <NAME> - http://www.mesuva.com.au
namespace Concrete\Package\MsvTable;
use Package;
use BlockType;
use AssetList;
use Asset;

class Controller extends Package {

    protected $pkgHandle = 'msv_table';
    protected $appVersionRequired = '5.7.3';
    protected $pkgVersion = '0.9.5';

    public function getPackageDescription() {
        return t("A block to quickly enter and display tabular data.");
    }

    public function getPackageName() {
        return t("Table Block");
    }

    public function install() {
        $pkg = parent::install();
        $this->configurePackage($pkg);
    }

    public function configurePackage($pkg) {
        $blk = BlockType::getByHandle('msv_table');
        if(!is_object($blk) ) {
            BlockType::installBlockType('msv_table', $pkg);
        }
    }

    public function on_start() {
        $al = AssetList::getInstance();

        $al->register( 'javascript', 'handsontable', 'js/handsontable.full.min.js', array('version' => '15.0-beta6', 'position' => Asset::ASSET_POSITION_FOOTER, 'minify' => false, 'combine' => false), $this );
        $al->register( 'css', 'handsontable', 'css/handsontable.full.min.css', array('version' => '15.0-beta6', 'position' => Asset::ASSET_POSITION_HEADER, 'minify' => false, 'combine' => false), $this );
        $al->registerGroup('handsontable',

            array(
                array('javascript', 'handsontable'),
                array('css', 'handsontable'),
            )
        );

    }


}
{'fraction_non_alphanumeric': 0.16023353876094712, 'fraction_numerical': 0.009082062925721699, 'mean_word_length': 2.9386973180076628, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 29, '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': '4461050', 'n_tokens_mistral': 977, 'n_tokens_neox': 922, 'n_words': 195}