Created
May 15, 2017 14:30
-
-
Save shibulijack-fd/805bae3171f180ca44ca2a25079f29a8 to your computer and use it in GitHub Desktop.
Hotline Async Embed code
This file contains hidden or 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
function callHotlineAsync(e,n){var t=document,a="script",c=t.createElement(a),l=t.getElementsByTagName(a)[0];c.src="//"+e,n&&c.addEventListener("load",function(e){n(null,e)},!1),l.parentNode.insertBefore(c,l)} | |
callHotlineAsync('//chat2.hotline.io/js/widget.js', function() { | |
window.HotlineWidget.init({ | |
token: "TOKEN_HERE", | |
host: "https://chat2.hotline.io" | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment