/[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 28 by dpavlin, Thu Sep 23 18:22:50 2004 UTC revision 29 by dpavlin, Fri Sep 24 15:44:27 2004 UTC
# Line 10  function BFilter(arr) { Line 10  function BFilter(arr) {
10          // total number of hits          // total number of hits
11          this.hits = 0;          this.hits = 0;
12    
13          this.results_html = null;          this.results_html = '';
14    
15          // this function is called for each result          // this function is called for each result
16          this.result = function (arr) {          this.result = function (arr) {
# Line 98  BFilter.prototype.results = function (ht Line 98  BFilter.prototype.results = function (ht
98          var results_div = this.element_id("results");          var results_div = this.element_id("results");
99          if (clean) {          if (clean) {
100                  results_div.innerHTML = html;                  results_div.innerHTML = html;
101                    this.results_html = '';
102          } else {          } else {
103                  html = this.display();                  html = this.display();
104                  if (html) results_div.innerHTML += html;                  if (html) results_div.innerHTML += html;

Legend:
Removed from v.28  
changed lines
  Added in v.29

  ViewVC Help
Powered by ViewVC 1.1.26