From 87cb9ae8265e38296d02a3e3d499ccc7ee62a31d Mon Sep 17 00:00:00 2001 From: David Flatz Date: Mon, 22 Apr 2013 17:15:02 +0000 Subject: introduce debug parameter 'jsdebug' that enforces javascript injection for better debugging --- itjs/boot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'itjs') diff --git a/itjs/boot.js b/itjs/boot.js index 4e52489..5261405 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -187,8 +187,9 @@ function it_boot(file, isretry) it_boot.sequence = isretry ? "r" : "b"; var loader = it_boot_getloader(); var bootparam = "boot=1" + (isretry ? "&retry=1" : ""); + var jsdebug = !!document.location.hostname.match(/\.jsdebug\./); - if (loader) + if (loader && !jsdebug) { it_boot.sequence += "l"; loader.open("GET", it_boot_addparam(file, bootparam)); -- cgit v1.2.3