/[jsFind]/trunk/html/js/search.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/html/js/search.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18 by dpavlin, Sun Oct 3 21:24:57 2004 UTC revision 26 by dpavlin, Thu Oct 7 22:41:16 2004 UTC
# Line 79  function intersect_results(data) Line 79  function intersect_results(data)
79   From David Flanagan's, _Javascript:_The Definitive_Guide_, pg. 294-5,   From David Flanagan's, _Javascript:_The Definitive_Guide_, pg. 294-5,
80    published by O'Reilly, 4th edition, 2002    published by O'Reilly, 4th edition, 2002
81  */  */
82    
83    var debug_div = null;
84    
85  function debug(msg)  function debug(msg)
86  {  {
87  //  return; // Disable debugging  //  return; // Disable debugging
88    
89    var debug_div = document.getElementById('debug');    if (! debug_div) debug_div = document.getElementById('debug');
90    
91    if (debug_div) debug_div.innerHTML += msg+"<br/>\n";    if (debug_div) {
92            debug_div.appendChild(document.createTextNode(msg));
93            debug_div.appendChild(document.createElement("br"));
94      }
95  }  }
96    
97  //  //

Legend:
Removed from v.18  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.26