<commit_before>﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    
<script src="./glimpse.js" type="text/javascript"></script>   
<script type="text/javascript"> 
(function($, pubsub, tab, render) {
    
    // Creating some custom engnies that are registered with given names
    var customEngineA = {
            build: function(data) {
                return 'AAAA - ' + data + ' - AAAA';
            }
        },
        customEngineB = {
            build: function(data) {
                return 'BBB - ' + data + ' - BBB';
            }
        };
    render.engine.register('marionette-customA', customEngineA);
    render.engine.register('marionette-customB', customEngineB);
    



    // Some additional events you can tap into so you know when the dom is render for you to alter
    pubsub.subscribe('action.panel.rendered.marionette-core', function(args) {

        args.panel.css('opacity', '0.5');

        // You could also do the following. You would use this in cases where you have no data up front when calling tab.register
        //render.engine.insert(args.panelHolder, { 'testA': 'value', 'testB': 'value'});
    }); 
    pubsub.subscribe('action.panel.showing.marionette-core', function() {
         console.log('Showing marionette-core');
    });<commit_msg>Update target of client sample<commit_after>﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    
<script src="./glimpse.js" type="text/javascript"></script>   
<script type="text/javascript"> 
(function($, pubsub, tab, render) {
    
    // Creating some custom engnies that are registered with given names
    var customEngineA = {
            build: function(data) {
                return 'AAAA - ' + data + ' - AAAA';
            }
        },
        customEngineB = {
            build: function(data) {
                return 'BBB - ' + data + ' - BBB';
            }
        };
    render.engine.register('marionette-customA', customEngineA);
    render.engine.register('marionette-customB', customEngineB);
    



    // Some additional events you can tap into so you know when the dom is render for you to alter
    pubsub.subscribe('action.panel.rendered.marionette-core', function(args) {

        args.panel.css('opacity', '0.5');

        // You could also do the following. You would use this in cases where you have no data up front when calling tab.register
        //render.engine.insert(args.panel, { 'testA': 'value', 'testB': 'value'});
    }); 
    pubsub.subscribe('action.panel.showing.marionette-core', function() {
         console.log('Showing marionette-core');
    });
{'fraction_non_alphanumeric': 0.14259190493873003, 'fraction_numerical': 0.0051986632008912, 'mean_word_length': 2.485122897800776, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1306851', 'n_tokens_mistral': 822, 'n_tokens_neox': 785, 'n_words': 204}