/[jquery]/tag_complete/jquery-tac.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 /tag_complete/jquery-tac.js

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

revision 64 by dpavlin, Wed Aug 23 15:58:16 2006 UTC revision 65 by dpavlin, Sun Sep 3 10:36:48 2006 UTC
# Line 119  function tac( Line 119  function tac(
119    
120  tac.prototype.suggest = function( partial ) {  tac.prototype.suggest = function( partial ) {
121    
122          $.log.info('suggest to '+partial);          $.log.info('suggest to \''+partial+'\'');
123    
124          var len = partial.length;          var len = partial.length;
125          var suggest = '';          var suggest = '';
# Line 316  tac.prototype.current_tag = function() { Line 316  tac.prototype.current_tag = function() {
316          var last_tag = tags.replace(/^([^ ][^ ]* )*/, '');          var last_tag = tags.replace(/^([^ ][^ ]* )*/, '');
317          if (last_tag != this.last_tag) {          if (last_tag != this.last_tag) {
318                  this.last_tag = last_tag;                  this.last_tag = last_tag;
                 return last_tag;  
319          } else {          } else {
320                  defer(function() { t.parse() }, 500, 'parse');                  defer(function() { t.parse() }, 500, 'parse');
                 return '';  
321          }          }
322            return this.last_tag;
323  }  }
324    
325  tac.prototype.focus = function() {  tac.prototype.focus = function() {

Legend:
Removed from v.64  
changed lines
  Added in v.65

  ViewVC Help
Powered by ViewVC 1.1.26