Last active
January 17, 2019 16:43
-
-
Save regevbr/397c3133522e5daa03e5e3012655e7b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scriptElement = document.createElement('script'); | |
scriptElement.setAttribute('src','//s7.addthis.com/js/300/addthis_widget.js'); | |
const headElement = document.getElementsByTagName('head')[0]; | |
head.appendChild(scriptElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment