mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 00:16:52 +00:00
Fix nonstandard initialisation code for fill/parameter/slot widgets
This commit is contained in:
parent
bb2dea2414
commit
5b271bb4f4
@ -22,7 +22,7 @@ var FillWidget = function(parseTreeNode,options) {
|
||||
/*
|
||||
Inherit from the base widget class
|
||||
*/
|
||||
FillWidget.prototype = Object.create(Widget.prototype);
|
||||
FillWidget.prototype = new Widget();
|
||||
|
||||
exports.fill = FillWidget;
|
||||
|
||||
|
@ -23,7 +23,7 @@ var ParametersWidget = function(parseTreeNode,options) {
|
||||
/*
|
||||
Inherit from the base widget class
|
||||
*/
|
||||
ParametersWidget.prototype = Object.create(Widget.prototype);
|
||||
ParametersWidget.prototype = new Widget();
|
||||
|
||||
/*
|
||||
Render this widget into the DOM
|
||||
|
@ -23,7 +23,7 @@ var SlotWidget = function(parseTreeNode,options) {
|
||||
/*
|
||||
Inherit from the base widget class
|
||||
*/
|
||||
SlotWidget.prototype = Object.create(Widget.prototype);
|
||||
SlotWidget.prototype = new Widget();
|
||||
|
||||
/*
|
||||
Render this widget into the DOM
|
||||
|
Loading…
Reference in New Issue
Block a user