src/web/tag.js
function (node) {
        var element = this._createElement(node);
        this._setAttributesTo(element);
        this._appendChildrenTo(element);
        return node.appendChild(element);
    }
function (node) {
        var element = this._createElement(node);
        this._setAttributesTo(element);
        this._appendChildrenTo(element);
        return node.appendChild(element);
    }
function ( node ) { var element = this . _createElement ( node ) ; this . _setAttributesTo ( element ) ; this . _appendChildrenTo ( element ) ; return node . appendChild ( element ) ; }
Appends the tag to the provided node

@param {Object} node Expected to be a DOM node
@return {Object} Created node
@since 0.2.1
Appends the tag to the provided node