Created
July 30, 2019 22:27
-
-
Save pdaire/7b2df7779e76f7ac36f60a7cfefbfb61 to your computer and use it in GitHub Desktop.
bci demo tink
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
<html> | |
<head></head> | |
<body> | |
<h1>Widget Let's Talk</h1> | |
<script type='text/javascript' async defer> | |
(function(l,t){if(l.$LT)return;function ls(){a=!1;s=t.createElement('script');s.type='text/javascript';s.src='http://bci.letsta.lk/widget.js';s.async=!0;s.defer=!0;k=document.getElementsByTagName('script')[0];k.parentNode.insertBefore(s,k)};var lt=l.$LT=function(callback){if(typeof callback==='function'){mock.initCallBack=callback}};lt.enqueue=function(){mock.stack.push(arguments);mock.times.push(+new Date)};lt.settings=function(settings){lt.enqueue('userSettings',settings)};lt.chatMetadata=function(getMetadata){if(typeof getMetadata==='function'){lt.enqueue('metadata',getMetadata())}};lt.setByName=function(name){mock.name=name};var mock=lt._={name:!1,initCallBack:!1,stack:[],times:[+new Date],};if(t.body){ls()}else{if(l.attachEvent){l.attachEvent('onload',ls)}else{l.addEventListener('load',ls,!1)}}})(window,document);window.$LT(function(messenger){messenger.setByName('widget-test');}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment