diff options
author | Thomas BrĂ¼derli | 2007-09-10 10:01:58 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-09-10 10:01:58 +0000 |
commit | 0d050f9631d411cd4bdec0a26a9d005349464395 (patch) | |
tree | 651271c61f062969da4796822101d0c30fd41cc4 /itjs/loader.js | |
parent | da11d93152ef0d6e562856029cb11b12f8b8b7d6 (diff) | |
download | itools-0d050f9631d411cd4bdec0a26a9d005349464395.tar.gz itools-0d050f9631d411cd4bdec0a26a9d005349464395.tar.bz2 itools-0d050f9631d411cd4bdec0a26a9d005349464395.zip |
Flags to locate script errors
Diffstat (limited to 'itjs/loader.js')
-rw-r--r-- | itjs/loader.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/itjs/loader.js b/itjs/loader.js index 6efdbee..3735bca 100644 --- a/itjs/loader.js +++ b/itjs/loader.js @@ -165,6 +165,7 @@ post: function(baseurl, data) readyStateChanged: function() { var loader = this.loader; // Avoid race conditions + it_loader.sequence += "r"; if (loader && (loader.readyState == 4)) { @@ -199,6 +200,7 @@ dataReady: function(data, callid) { var fixkonqueror33gcbug = this.loader; var loadtime = new Date().getTime() - this.starttime; + it_loader.sequence += "e"; this.loader = null; @@ -228,6 +230,8 @@ dataReady: function(data, callid) if (!this.attr.eof && (this.end < this.pos + this.num)) this.load(this.baseurl, this.end, this.pos + this.num - this.end); + + it_loader.sequence += "h"; } this.unlink(); @@ -257,10 +261,12 @@ unlink: function() document.body.removeChild(this.scrpt); this.scrpt = null; } + + it_loader.sequence = ""; }/* NO COMMA */ } // static properties it_loader.instances = 0; - +it_loader.sequence = ""; |