<commit_before>var CallbackStore = require('famous-utilities').CallbackStore;

function DOMElement (node, options) {
    if (typeof options === 'string') {
        console.warn(
            'HTMLElement constructor signature changed!\n' +
            'Pass in an options object with {tagName: ' + options + '} instead.'
        );
        options = {
            tagName: options
        };
    }

    this._node = node;

    this._requestingUpdate = false;

    this._changeQueue = [];
    
    this._classes = ['fa-surface'];
    this._requestingEventListeners = [];
    this._styles = {
        display: 'none' 
    };<commit_msg>fix: made the show state the nodes' show state by default<commit_after>var CallbackStore = require('famous-utilities').CallbackStore;

function DOMElement (node, options) {
    if (typeof options === 'string') {
        console.warn(
            'HTMLElement constructor signature changed!\n' +
            'Pass in an options object with {tagName: ' + options + '} instead.'
        );
        options = {
            tagName: options
        };
    }

    this._node = node;

    this._requestingUpdate = false;

    this._changeQueue = [];
    
    this._classes = ['fa-surface'];
    this._requestingEventListeners = [];
    this._styles = {
        display: node.isShown() 
    };
{'fraction_non_alphanumeric': 0.1236722306525038, 'fraction_numerical': 0.0, 'mean_word_length': 2.264851485148515, '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': '2310525', 'n_tokens_mistral': 370, 'n_tokens_neox': 363, 'n_words': 88}