1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-06 02:37:14 +00:00

Merge 50fbea45e97fda0bb2701bea68917f0de6ef063e into c3695765ad8b3e46b4dcc89496a2daa331215a81

This commit is contained in:
Saq Imtiaz 2025-03-10 19:16:51 +09:00 committed by GitHub
commit 88c949e5d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,7 @@ Widget.prototype.initialise = function(parseTreeNode,options) {
this.parentWidget = options.parentWidget;
this.variables = Object.create(this.parentWidget ? this.parentWidget.variables : null);
this.document = options.document;
this.window = this.document.parentWindow || this.document.defaultView;
this.attributes = {};
this.children = [];
this.domNodes = [];