<commit_before>dojo-status-manager
=================

A dojo module that handles displaying an applications current activity.<commit_msg>Added instructions for use to the readme.md<commit_after>dojo-status-manager
=================

A dojo module that handles displaying an applications current activity.

You can include it as a module into a dojo project. You provide a dom id to add the status manager to as well as some configuration options.

    require(["managers/statusManager"], function(statusManager) {
        
        var sManager = new statusManager({
            containerId: "{domId}",
            loadingImage: "http://www.ajaxload.info/cache/FF/FF/FF/00/00/00/1-0.gif",
            loadingString: "Loading..."
        });
        
    }


Once you've created the status manager, you can then send updates to it by using the dojo/topic module.

    require(["dojo/topic"], function(topic) {
        // You send an updateStart with a message about what's updating
        topic.publish("updateStart", "Message about what's updating");
        
        // When you are done with that update, send an updateStop with the same message as the original to remove that message
        topic.publish("updateStop", "Message about what's updating");        
        
    }
{'fraction_non_alphanumeric': 0.10789679437060204, 'fraction_numerical': 0.006254886630179828, 'mean_word_length': 2.9384615384615387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '6214528', 'n_tokens_mistral': 327, 'n_tokens_neox': 312, 'n_words': 128}