<commit_before>/**
 *  This file is part of PerSE. PerSE is a visual analytics app for
 *  event periodicity detection and analysis.
 *  Copyright (C) 2015  <NAME>
 */

define([
    'jquery',
    // no namespace
    'bootstrap'
], function ($) {

    var pertoolbar = {};

    pertoolbar.PerToolbar = function () {
        this.container = $('<div>');
        this.listeners = [];
        this.calendarButtons = {'gregorian': undefined, 'islamic': undefined};
        this.filterButton = undefined;
    };

    pertoolbar.PerToolbar.prototype.render = function (parent) {
        // dark background
        var title = $('<p>')
                .attr({'class': 'perse-header-title'})
                .text('All Views'),
            panelHeader = $('<div>')
                .attr({'class': 'panel-heading perse-panel-heading'})
                .append($('<div>').attr({'class': 'panel-title'}).append(title, this.createControls())),
            panel = $('<div>')
                .attr({'class': 'panel panel-default perse-pertoolbar'})
                .append(panelHeader, this.container);

        /* // plain background
        var title = $('<p>')
                .attr({'class': 'perse-header-title'})
                .text('All Views'),<commit_msg>fix linter error<commit_after>/**
 *  This file is part of PerSE. PerSE is a visual analytics app for
 *  event periodicity detection and analysis.
 *  Copyright (C) 2015  <NAME>
 */

define([
    'jquery',
    // no namespace
    'bootstrap'
], function ($) {

    var pertoolbar = {};

    pertoolbar.PerToolbar = function () {
        this.container = $('<div>');
        this.listeners = [];
        this.calendarButtons = {'gregorian': undefined, 'islamic': undefined};
        this.filterButton = undefined;
    };

    pertoolbar.PerToolbar.prototype.render = function (parent) {
        // dark background
        var title = $('<p>')
                .attr({'class': 'perse-header-title'})
                .text('Main'),
            panelHeader = $('<div>')
                .attr({'class': 'panel-heading perse-panel-heading'})
                .append($('<div>').attr({'class': 'panel-title'}).append(title, this.createControls())),
            panel = $('<div>')
                .attr({'class': 'panel panel-default perse-pertoolbar'})
                .append(panelHeader, this.container);

        /* // plain background
        var title = $('<p>')
                .attr({'class': 'perse-header-title'})
                .text('All Views'),
{'fraction_non_alphanumeric': 0.17106314948041568, 'fraction_numerical': 0.0031974420463629096, 'mean_word_length': 2.082512315270936, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4531283', 'n_tokens_mistral': 730, 'n_tokens_neox': 694, 'n_words': 160}