mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-28 02:34:41 +00:00
Fixes ESLint errors (#9668)
* fix: apply automatic eslint fixes * lint: allow hashbang comment for tiddlywiki.js * lint: first back of manual lint fixes for unused vars * lint: added more fixes for unused vars * lint: missed files * lint: updated eslint config with selected rules from #9669
This commit is contained in:
@@ -10,7 +10,7 @@ exports.name = "parameters";
|
||||
|
||||
exports.serialize = function(tree,serialize) {
|
||||
var params = tree.orderedAttributes.map(function(param) {
|
||||
return param.name + (param.value ? ":" + param.value : "");
|
||||
return param.name + (param.value ? ":" + param.value : "");
|
||||
}).join(",");
|
||||
return "\\parameters(" + params + ")\n\n" + serialize(tree.children);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user