From 562a308811b6b46d23064980d8cdb7aec0b5bbea Mon Sep 17 00:00:00 2001 From: linonetwo Date: Wed, 30 Oct 2024 14:49:33 +0800 Subject: [PATCH] fix: ignore base file --- core/modules/parsers/base.js | 6 ------ core/modules/wiki.js | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/modules/parsers/base.js b/core/modules/parsers/base.js index 49bb5e360..015043a43 100644 --- a/core/modules/parsers/base.js +++ b/core/modules/parsers/base.js @@ -1,9 +1,3 @@ -/*\ -title: $:/core/modules/parsers/base.js -type: application/javascript -module-type: library -\*/ - /** * Represents an attribute in a parse tree node * diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 2ca84906d..cf3d20a14 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -16,6 +16,11 @@ Adds the following properties to the wiki object: * `globalCache` is a hashmap by cache name of cache objects that are cleared whenever any tiddler change occurs \*/ +(function(){ + + /*jslint node: true, browser: true */ + /*global $tw: false */ + "use strict"; var Widget = require("$:/core/modules/widgets/widget.js").widget; @@ -1794,3 +1799,5 @@ exports.slugify = function(title,options) { } return slug; }; + +})(); \ No newline at end of file