TiddlyWiki.org

Changeset 4930

Show
Ignore:
Timestamp:
13/05/08 17:31:33 (2 months ago)
Author:
jayfresh
Message:

SlidyTiddly?: changes to content and tweak to reorderTiddlerList so it handles an empty target tiddler

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/contributors/JonathanLister/verticals/SlidyTiddly/plugins/ListOrderingPlugin.js

    r4928 r4930  
    5050config.macros.reorderTiddlerList = { 
    5151        handler : function(place,macroName,params,wikifier,paramString,tiddler){ 
    52                 if(params && store.getTiddlerText(params[0])) { 
     52                if(params && params[0]) { 
     53                        createTiddlyElement(place,"span"); 
     54                        span.setAttribute("refresh","tiddler"); 
     55                        span.setAttribute("tiddler",params[0]); 
    5356                        var list = store.getTiddlerText(params[0]).split('\n'); 
    5457                        ListOrdering.init(place,list,function(newlist){config.macros.reorderTiddlerList.cb(newlist,params[0]);}); 
    5558                } else { 
    56                         wikify("There is nothing in this tiddler!",place)
     59                        return
    5760                } 
    5861        }, 
  • Trunk/contributors/JonathanLister/verticals/SlidyTiddly/tiddlers/Welcome.tiddler

    r4928 r4930  
    44Slidy is a tool built by the W3C to easily create a HTML presentation. With ~TiddlySlidy, this becomes even easier. 
    55 
    6 Example Slidy presentations you can import from the W3C site: 
    7 http://www.w3.org/Talks/Tools/Slidy/ 
    8 http://www.w3.org/2006/02/woa/</pre> 
     6Example Slidy presentation you can import from the W3C site: 
     7http://www.w3.org/Talks/Tools/Slidy/</pre> 
    98</div>