mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-28 07:54:38 +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: filteroperator
|
||||
Filter operators for geospatial helpers
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
var turf = require("$:/plugins/tiddlywiki/geospatial/turf.js");
|
||||
@@ -20,5 +17,3 @@ exports.geopoint = function(source,operator,options) {
|
||||
alt = $tw.utils.parseNumber(operator.operands[2] || "0");
|
||||
return [JSON.stringify(turf.point([long,lat,alt]))];
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user