summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2014-10-13 12:04:20 +0200
committerUrban Müller2014-10-13 12:04:20 +0200
commit4eca72275e2624f86f4ad40cc0a17ce1624419c2 (patch)
tree53fd7a97af2e3261a1c9204bf2e4e71a624272ff
parentaf2558ed5d1486668174e608a2889d099cc70edc (diff)
downloaditools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.tar.gz
itools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.tar.bz2
itools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.zip
more tracing
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index fb3fc42..0c552b4 100644
--- a/itjs.php
+++ b/itjs.php
@@ -63,6 +63,7 @@ else if (it::match('\.htc$', $file))
}
else if (!it::match('\.html$', $file))
{
+ $data = "window.trace+='i';\n$data\nwindow.trace+='I';\n";
$data .= "\nwindow.it_gotjs = (window.it_gotjs ? window.it_gotjs : '') + '." . it::match('\w+', basename($file)) . "';\n";
$charset = ini_get('default_charset') ?: 'iso-8859-1';
header("Content-Type: application/x-javascript; charset=$charset");