src/xblocks/block.js
function blockInit(node) {
    if (!node[ Constants.TAGNAME ]) {
        node[ Constants.INSERTED ] = false;
        node[ Constants.TAGNAME ] = node.tagName.toLowerCase();
        node[ Constants.TMPL ] = {};
        node[ Constants.UID ] = uniqueId();

        return true;
    }

    return false;
}
function blockInit(node) {
    if (!node[ Constants.TAGNAME ]) {
        node[ Constants.INSERTED ] = false;
        node[ Constants.TAGNAME ] = node.tagName.toLowerCase();
        node[ Constants.TMPL ] = {};
        node[ Constants.UID ] = uniqueId();

        return true;
    }

    return false;
}
Initialization of the element.
@example
blockInit(node);
@param {HTMLElement} node
@returns {boolean}
@private