mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-03 15:28:05 +00:00
Remove module function wrapper and add matching configurations for dprint and eslint (#7596)
* remove blks first try * dprint.json seems to be OK, some forgotten functions * add some more space-after-keyword settings * server remove blks * add **/files to dprint exclude * dprint.js fixes a typo * add boot.js and bootprefix.js to dprint exclude * dprint change dprint.json * add dprint fmt as script * remove jslint comments * fix whitespace * fix whitespace * remove function-wrapper from geospatial plugin * fix whitespace * add function wrapper to dyannotate-startup * remove dpring.json
This commit is contained in:
@@ -6,10 +6,7 @@ module-type: widget
|
||||
Transclude widget
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
var sliceSeparator = "::";
|
||||
var sectionSeparator = "##";
|
||||
@@ -191,5 +188,3 @@ TranscludeWidget.prototype.refresh = function(changedTiddlers) {
|
||||
};
|
||||
|
||||
exports.classictransclude = TranscludeWidget;
|
||||
|
||||
})();
|
||||
|
||||
@@ -3,9 +3,6 @@ title: $:/macros/tiddlywiki/entry.js
|
||||
type: application/javascript
|
||||
module-type: macro
|
||||
\*/
|
||||
(function(){
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
/*
|
||||
Information about this macro
|
||||
@@ -27,4 +24,3 @@ exports.run = function(key,map) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
@@ -3,10 +3,7 @@ title: $:/macros/classic/macroadapter.js
|
||||
type: application/javascript
|
||||
module-type: module
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
/*
|
||||
Information about this module:
|
||||
@@ -94,4 +91,3 @@ var paramadapter = {
|
||||
exports.name = 'macroadapter';
|
||||
exports.namedapter = namedapter;
|
||||
exports.paramadapter = paramadapter;
|
||||
})();
|
||||
|
||||
@@ -28,10 +28,7 @@ HTML nodes look like this:
|
||||
`
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
@@ -196,5 +193,3 @@ WikiTextParser.prototype.subWikifyTerm = function(output,terminatorRegExp) {
|
||||
};
|
||||
|
||||
exports["text/x-tiddlywiki"] = WikiTextParser;
|
||||
|
||||
})();
|
||||
|
||||
@@ -6,10 +6,7 @@ module-type: module
|
||||
Rule modules for the wikitext parser
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
var macroadapter = require("$:/macros/classic/macroadapter.js");
|
||||
var textPrimitives = {
|
||||
@@ -824,5 +821,3 @@ var rules = [
|
||||
];
|
||||
|
||||
exports.rules = rules;
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user