/[bfilter]/trunk/bfilter.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/bfilter.js

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

revision 10 by dpavlin, Fri Sep 10 12:16:21 2004 UTC revision 11 by dpavlin, Fri Sep 10 12:42:58 2004 UTC
# Line 177  BFilter.prototype.filter = function (doc Line 177  BFilter.prototype.filter = function (doc
177                                  this.arr[part][i][0] +                                  this.arr[part][i][0] +
178                                  this.html_mid +                                  this.html_mid +
179                                  (this.hits % 2 == 0 ? '<span style="background: #e0e0e0">' : '');                                  (this.hits % 2 == 0 ? '<span style="background: #e0e0e0">' : '');
180                          if (this.debug()) { html += i+": "; }                          //if (this.debug()) { html += i+": "; }
181                          html += this.arr[part][i][1] +                          html += this.arr[part][i][1] +
182                                  (this.hits % 2 == 0 ? '</span>' : '') +                                  (this.hits % 2 == 0 ? '</span>' : '') +
183                                  this.html_post + "\n";                                  this.html_post + "\n";
# Line 203  BFilter.prototype.filter = function (doc Line 203  BFilter.prototype.filter = function (doc
203                                          this.arr[part][i][0] +                                          this.arr[part][i][0] +
204                                          this.html_mid +                                          this.html_mid +
205                                          (this.hits % 2 == 0 ? '<span style="background: #e0e0e0">' : '');                                          (this.hits % 2 == 0 ? '<span style="background: #e0e0e0">' : '');
206                                  if (this.debug()) { html += i+": "; }                                  //if (this.debug()) { html += i+": "; }
207                                  html += this.arr[part][i][1] +                                  html += this.arr[part][i][1] +
208                                          (this.hits % 2 == 0 ? '</span>' : '') +                                          (this.hits % 2 == 0 ? '</span>' : '') +
209                                          this.html_post + "\n";                                          this.html_post + "\n";

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26