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

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

revision 43 by dpavlin, Fri Aug 18 18:01:02 2006 UTC revision 44 by dpavlin, Fri Aug 18 19:13:01 2006 UTC
# Line 17  $.log = { Line 17  $.log = {
17                  return m;                  return m;
18          },          },
19    
20          insert: function(class, m) {          insert: function(what, m) {
21                  if (! _jql) this.create();                  if (! _jql) this.create();
22    
23                  _jql.count[ class ]++;                  _jql.count[ what ]++;
24    
25                  var html = '<div class="jql-' + class + '"'                  var html = '<div class="jql-' + what + '"'
26                  if ( ! _jql.on[class] ) html += ' style="display:none"';                  if ( ! _jql.on[what] ) html += ' style="display:none"';
27                  html += '>' + m + '</div>';                  html += '>' + m + '</div>';
28                  $('#jql-log').append( html );                  $('#jql-log').append( html );
29                  //$('#jql-log').prepend( html );                  //$('#jql-log').prepend( html );

Legend:
Removed from v.43  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26