mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 06:36:17 +00:00
a2182255cc
We can rely on the default processing in the base class
30 lines
748 B
JavaScript
30 lines
748 B
JavaScript
/*\
|
|
title: $:/core/modules/widgets/fill.js
|
|
type: application/javascript
|
|
module-type: widget
|
|
|
|
Sub-widget used by the transclude widget for specifying values for slots within transcluded content. It doesn't do anything by itself because the transclude widget only ever deals with the parse tree nodes, and doesn't instantiate the widget itself
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
var Widget = require("$:/core/modules/widgets/widget.js").widget;
|
|
|
|
var FillWidget = function(parseTreeNode,options) {
|
|
// Initialise
|
|
this.initialise(parseTreeNode,options);
|
|
};
|
|
|
|
/*
|
|
Inherit from the base widget class
|
|
*/
|
|
FillWidget.prototype = Object.create(Widget.prototype);
|
|
|
|
exports.fill = FillWidget;
|
|
|
|
})();
|
|
|