<commit_before>var $ = require('jquery');
require('../vendor/bower_components/slickgrid/lib/jquery.event.drag-2.2.js');
var m = require('mithril');
var Treebeard = require('treebeard');


function Meeting(data) {
    //  Treebeard version 
    var tbOptions = {
        divID: 'grid',
        filesData: data,
        rowHeight : 30,         // user can override or get from .tb-row height
        paginate : false,       // Whether the applet starts with pagination or not.
        paginateToggle : false, // Show the buttons that allow users to switch between scroll and paginate.
        uploads : false,         // Turns dropzone on/off.
        columnTitles : function _conferenceColumnTitles(item, col) {
             return [
                {
                    title: "Title",
                    width: "50%",
                    sortType : "text",
                    sort : true
                },
                {
                    title: "Author",
                    width : "25%",
                    sortType : "text",
                    sort : true

                },
                {
                    title: "Category",
                    width : "15%",
                    sort : false
                },
                {
                    title: "Downloads",
                    width : "10%",
                    sort : false
                }
            ]},            
        resolveRows : function _conferenceResolveRows(item){
        
            var default_columns = [
                {
                    data : 'title',  // Data field name
                    folderIcons : false,
                    filter : true,
                    sortInclude : true,  
                    custom : function() { return m('a', { href : item.data.nodeUrl, target : '_blank' }, item.data.title ); }<commit_msg>Adjust meeting columns for shorter displays<commit_after>var $ = require('jquery');
require('../vendor/bower_components/slickgrid/lib/jquery.event.drag-2.2.js');
var m = require('mithril');
var Treebeard = require('treebeard');


function Meeting(data) {
    //  Treebeard version 
    var tbOptions = {
        divID: 'grid',
        filesData: data,
        rowHeight : 30,         // user can override or get from .tb-row height
        paginate : false,       // Whether the applet starts with pagination or not.
        paginateToggle : false, // Show the buttons that allow users to switch between scroll and paginate.
        uploads : false,         // Turns dropzone on/off.
        columnTitles : function _conferenceColumnTitles(item, col) {
             return [
                {
                    title: "Title",
                    width: "50%",
                    sortType : "text",
                    sort : true
                },
                {
                    title: "Author",
                    width : "20%",
                    sortType : "text",
                    sort : true

                },
                {
                    title: "Category",
                    width : "15%",
                    sort : false
                },
                {
                    title: "Downloads",
                    width : "15%",
                    sort : false
                }
            ]},            
        resolveRows : function _conferenceResolveRows(item){
        
            var default_columns = [
                {
                    data : 'title',  // Data field name
                    folderIcons : false,
                    filter : true,
                    sortInclude : true,  
                    custom : function() { return m('a', { href : item.data.nodeUrl, target : '_blank' }, item.data.title ); }
{'fraction_non_alphanumeric': 0.09903121636167922, 'fraction_numerical': 0.006458557588805167, 'mean_word_length': 1.0882022471910113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '340921', 'n_tokens_mistral': 942, 'n_tokens_neox': 865, 'n_words': 237}