mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 16:57:05 +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:
@@ -15,7 +15,7 @@ exports.serialize = function(tree,serialize) {
|
||||
var name = tree.attributes.name.value;
|
||||
// Parameters with default values
|
||||
var params = tree.params.map(function(param) {
|
||||
return param.name + (param.default ? ':"' + param.default + '"' : "");
|
||||
return param.name + (param.default ? ':"' + param.default + '"' : "");
|
||||
}).join(", ");
|
||||
// Definition text
|
||||
var definition = tree.attributes.value.value;
|
||||
|
||||
Reference in New Issue
Block a user