Created
July 27, 2021 22:24
-
-
Save pdaire/99bcf851476eb56b9c2f3bb76a37d260 to your computer and use it in GitHub Desktop.
test new apps setting
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
<html> | |
<head> | |
</head> | |
<object data="https://example.com" width="100%" height="100%"> | |
<embed src="https://example.com" width="100%″" height="100%" /> | |
</object> | |
<!-- Begin of LetsTalk script --> | |
<script type='text/javascript' async defer> | |
!function(e,t){if(!e.$Letstalk){var n=e.$Letstalk={};n.enqueue=function(){var e=arguments;return new Promise(function(t,n){u.stack.push({args:e,resolve:t,reject:n}),u.times.push(+new Date)})},n.init=function(){return n.enqueue("init",arguments)},n.on=function(){return n.enqueue("on",arguments)},n.executeAppMethod=function(){return n.enqueue("executeAppMethod",arguments)},n.isAvailable=function(){return n.enqueue("isAvailable",arguments)},n.launch=function(){return n.enqueue("launch",arguments)},n.listApps=function(){return n.enqueue("listApps",arguments)},n.remove=function(){return n.enqueue("remove",arguments)};var u=n._={stack:[],times:[+new Date]};t.body?r():e.attachEvent?e.attachEvent("onload",r):e.addEventListener("load",r,!1)}function r(){a=!1,s=t.createElement("script"),s.type="text/javascript",s.src="https://static.letsta.lk/launcher/launcher.js",s.async=!0,s.defer=!0,k=document.getElementsByTagName("script")[0],k.parentNode.insertBefore(s,k)}}(window,document); | |
// Inicialización básica. para opciones avanzadas usar inicialización avanzada. | |
window.LetstalkSettings = { | |
organization: 'bci-dev', | |
environment: 'staging', | |
}; | |
window.$Letstalk.on('ready', function() { | |
window.$Letstalk.launch('sitio-publico', { display: 'small'}) | |
}) | |
</script> | |
<!-- End of LetsTalk script --> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment