mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-15 22:31:24 +00:00
Remove the old parser code
Thus introducing a few functional regressions, but it's going to be easier to fix things up without the old code knocking around and getting in the way.
This commit is contained in:
@@ -32,14 +32,8 @@ Command.prototype.execute = function() {
|
||||
path = require("path"),
|
||||
title = this.params[0],
|
||||
filename = this.params[1],
|
||||
type = this.params[2] || "text/html",
|
||||
options = {},
|
||||
t;
|
||||
for(t=3; t<this.params.length; t++) {
|
||||
options["with"] = options["with"] || [];
|
||||
options["with"][t-2] = this.params[t];
|
||||
}
|
||||
fs.writeFile(filename,this.commander.wiki.renderTiddler(type,title,options),"utf8",function(err) {
|
||||
type = this.params[2] || "text/html";
|
||||
fs.writeFile(filename,this.commander.wiki.renderTiddler(type,title),"utf8",function(err) {
|
||||
self.callback(err);
|
||||
});
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user