Hi Danielo,

/*\
title: $:/plugins/<author>/<plugin>/<name>.js
type: application/javascript
module-type: startup
\*/

(function(){
  
  /*jslint node: true, browser: true */
  /*global $tw: false */
  "use strict";
  
  // Export name and synchronous status
  exports.name = "<name>";
  exports.after = ["startup"];
  exports.before = ["rootwidget"];
  exports.synchronous = true;
  
  exports.startup = function() {
    
    $tw.wiki.addEventListener("change", function(changedTiddlers) {
      
     // you can do everything here that you would normally do in a refresh()
      
    });
        
  };

})();


Felix


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to