Skip to content

Instantly share code, notes, and snippets.

Inspectlet inspectlet

Block or report user

Report or block inspectlet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View inspectlet-requirejs-config.js
baseUrl: '/js',
deps: ['main', 'inspectlet'],
paths: {
//other paths
'inspectlet': 'apps/inspectlet/inspectlet',
//jquery below is only as example - not needed
'jquery': '../bower/jquery/dist/jquery',
'jqueryui': '../bower/jquery-ui/jquery-ui',
View inspectlet-requirejs-module.js
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; = "inspsync"; insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(insp, x); };
window.__insp = window.__insp || [];
__insp.push(['wid', <<your_inspectlet_id>>]);
You can’t perform that action at this time.