src/js/social-share.js
function createElementByString(str) {
        var div = document.createElement('div');
        div.innerHTML = str;

        return div.childNodes;
    }
function createElementByString(str) {
        var div = document.createElement('div');
        div.innerHTML = str;

        return div.childNodes;
    }
function createElementByString ( str ) { var div = document . createElement ( 'div' ) ; div . innerHTML = str ; return div . childNodes ; }
Create element by string.

@param {String} str

@returns {NodeList}
Create element by string .