mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-26 21:24:50 +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:
@@ -27,7 +27,6 @@ EditBinaryWidget.prototype = new Widget();
|
||||
Render this widget into the DOM
|
||||
*/
|
||||
EditBinaryWidget.prototype.render = function(parent,nextSibling) {
|
||||
var self = this;
|
||||
// Save the parent dom node
|
||||
this.parentDomNode = parent;
|
||||
// Compute our attributes
|
||||
@@ -66,7 +65,7 @@ EditBinaryWidget.prototype.execute = function() {
|
||||
download: {type: "indirect", textReference: "!!draft.title"}
|
||||
},
|
||||
children: [{
|
||||
type: "transclude",
|
||||
type: "transclude",
|
||||
attributes: {
|
||||
tiddler: {type: "string", value: EXPORT_BUTTON_IMAGE}
|
||||
}
|
||||
@@ -87,7 +86,7 @@ EditBinaryWidget.prototype.execute = function() {
|
||||
class: {type: "string", value: "tc-binary-warning"}
|
||||
},
|
||||
children: [warn, link]
|
||||
}
|
||||
};
|
||||
// Construct the child widgets
|
||||
this.makeChildWidgets([element]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user