<commit_before>/*
 * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
 */
define([
    'underscore',
    'contrail-view'
], function (_, ContrailView) {
    var nodesCntView = ContrailView.extend({
        render: function () {
            var self = this,
                nodesCountViewTemplate = contrail.getTemplate4Id("nodeCntView-template"),
                model = this.model,
                dataNodesCnt = getValueByJsonPath(model.getItems()[0], 'data', null);
                this.$el.append(nodesCountViewTemplate({dataNodesCnt}));
        }
    });
    return nodesCntView;
});<commit_msg>Related-Bug:#1670560 Click on each nodes in region card should navigate to corresponding region nodes page Change-Id: I0992c01f1d04c124b1e1d9590ceb62ae20a78399<commit_after>/*
 * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
 */
define([
    'underscore',
    'contrail-view'
], function (_, ContrailView) {
    var nodesCntView = ContrailView.extend({
        render: function () {
            var self = this,
                nodesCountViewTemplate = contrail.getTemplate4Id("nodeCntView-template"),
                model = this.model,
                regionsInfo = model.getItems()[0];
                this.$el.append(nodesCountViewTemplate({regionsInfo}));
        }
    });
    return nodesCntView;
});
{'fraction_non_alphanumeric': 0.11733931240657698, 'fraction_numerical': 0.0343796711509716, 'mean_word_length': 2.6684931506849314, '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': '4826154', 'n_tokens_mistral': 427, 'n_tokens_neox': 381, 'n_words': 82}