Added sort operator to filter syntax

This commit is contained in:
Jeremy Ruston
2012-05-08 16:02:24 +01:00
parent c63eb4c045
commit 19e19a2f42
4 changed files with 50 additions and 17 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ Command.prototype.subcommands.tiddler = function() {
};
Command.prototype.subcommands.tiddlers = function() {
var tiddlers = this.commander.wiki.sortTiddlers();
var tiddlers = this.commander.wiki.getTiddlers();
this.output.write("Wiki contains these tiddlers:\n");
for(var t=0; t<tiddlers.length; t++) {
this.output.write(tiddlers[t] + "\n");
@@ -59,7 +59,7 @@ Command.prototype.subcommands.tiddlers = function() {
};
Command.prototype.subcommands.shadows = function() {
var tiddlers = this.commander.wiki.shadows.sortTiddlers();
var tiddlers = this.commander.wiki.shadows.getTiddlers();
this.output.write("Wiki contains these shadow tiddlers:\n");
for(var t=0; t<tiddlers.length; t++) {
this.output.write(tiddlers[t] + "\n");