<commit_before>var chartOptions = { width: 600, height: 300, legend: 'none', pointSize: 0, lineWidth : 1 };

// default params
window.pageParams = {
    publisher: null,
    advertiser: null,
    adunit: null,
    refresh: 5,
    lookback: 15
}

jQuery(window).load(function() {
    var queryParams = splitQuery();
    console.log(queryParams);
    pageParams = jQuery.extend({}, pageParams, queryParams);
    initFields(pageParams);
    console.log(pageParams);
    loadCharts();
});

var endTime = 1378451460000 - 60*1000*30;

function loadCharts() {
    //var url = DataUrl();
    //console.log(params);
    var parameters = {
        publisher: pageParams.publisher,
        advertiser: pageParams.advertiser,
        adunit: pageParams.adunit,
        lookbackMinutes: pageParams.lookback
        //endTime: endTime<commit_msg>#22 Node.js Ads Dimensions Demo<commit_after>var chartOptions = { width: 600, height: 300, legend: 'none', pointSize: 0, lineWidth : 1 };

// default params
window.pageParams = {
    publisher: null,
    advertiser: null,
    adunit: null,
    refresh: 5,
    lookback: 15
}

jQuery(window).load(function() {
    var queryParams = splitQuery();
    pageParams = jQuery.extend({}, pageParams, queryParams);
    initFields(pageParams);
    loadCharts();
});

var endTime = 1378451460000 - 60*1000*30;

function loadCharts() {
    //var url = DataUrl();
    //console.log(params);
    var parameters = {
        publisher: pageParams.publisher,
        advertiser: pageParams.advertiser,
        adunit: pageParams.adunit,
        lookbackMinutes: pageParams.lookback
        //endTime: endTime
{'fraction_non_alphanumeric': 0.12692544670363523, 'fraction_numerical': 0.04066543438077634, 'mean_word_length': 3.2291666666666665, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '252338', 'n_tokens_mistral': 556, 'n_tokens_neox': 510, 'n_words': 119}