Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
define([], function () {
return (function () {
function ldinsp(){
if(typeof window.__inspld != "undefined") return; window.__inspld = 1; var insp = document.createElement('script'); insp.type = 'text/javascript'; insp.async = true; insp.id = "inspsync"; insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(insp, x); };
window.__insp = window.__insp || [];
__insp.push(['wid', <<your_inspectlet_id>>]);
setTimeout(ldinsp, 500); document.readyState != "complete" ? (window.attachEvent ? window.attachEvent('onload', ldinsp) : window.addEventListener('load', ldinsp, false)) : ldinsp();
})();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment