src/web/tag.js
function _gpfWebTagCreateFunction (nodeName) {
    if (!nodeName) {
        gpf.Error.missingNodeName();
    }
    return function (firstParam) {
        var sliceFrom = 0,
            attributes;
        if (_gpfIsLiteralObject(firstParam)) {
            attributes = firstParam;
            ++sliceFrom;
        }
        return new _GpfWebTag(nodeName, attributes, _gpfArraySlice(arguments, sliceFrom));
    };
}
function _gpfWebTagCreateFunction (nodeName) {
    if (!nodeName) {
        gpf.Error.missingNodeName();
    }
    return function (firstParam) {
        var sliceFrom = 0,
            attributes;
        if (_gpfIsLiteralObject(firstParam)) {
            attributes = firstParam;
            ++sliceFrom;
        }
        return new _GpfWebTag(nodeName, attributes, _gpfArraySlice(arguments, sliceFrom));
    };
}
function _gpfWebTagCreateFunction ( nodeName ) { if ( ! nodeName ) { gpf . Error . missingNodeName ( ) ; } return function ( firstParam ) { var sliceFrom = 0 , attributes ; if ( _gpfIsLiteralObject ( firstParam ) ) { attributes = firstParam ; ++ sliceFrom ; } return new _GpfWebTag ( nodeName , attributes , _gpfArraySlice ( arguments , sliceFrom ) ) ; } ; }
Create a tag generation function

@param {String} nodeName tag name.
May include the namespace prefix svg for [SVG elements](https://developer.mozilla.org/en-US/docs/Web/SVG)
@return {gpf.typedef.tagFunc} The tag generation function
@gpf:closure
@since 0.2.1
Create a tag generation function