<commit_before>define( [
            'dojo/_base/declare',
            'JBrowse/Component'
        ],
        function(
            declare,
            Component
        ) {

return declare( Component,

/**
 * @lends JBrowse.Store.prototype
 */
{
    /**
     * Base class for all JBrowse data stores.
     * @constructs
     */
    constructor: function( args ) {
        this.refSeq = dojo.clone( args.refSeq );
        this.changeCallback = args.changeCallback || function() {};
    },

    notifyChanged: function( changeDescription ) {
        this.changeCallback( changeDescription );<commit_msg>only call JBrowse/Store changeCallback if it actually has one<commit_after>define( [
            'dojo/_base/declare',
            'JBrowse/Component'
        ],
        function(
            declare,
            Component
        ) {

return declare( Component,

/**
 * @lends JBrowse.Store.prototype
 */
{
    /**
     * Base class for all JBrowse data stores.
     * @constructs
     */
    constructor: function( args ) {
        this.refSeq = dojo.clone( args.refSeq );
        this.changeCallback = args.changeCallback || function() {};
    },

    // not really utilized.  ignore for now
    notifyChanged: function( changeDescription ) {
        if( this.changeCallback )
            this.changeCallback( changeDescription );
{'fraction_non_alphanumeric': 0.11152694610778444, 'fraction_numerical': 0.0, 'mean_word_length': 1.9910514541387025, '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': '6018658', 'n_tokens_mistral': 373, 'n_tokens_neox': 366, 'n_words': 82}