mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-07-20 10:52:51 +00:00
Remove function wrapper for all plugins
This commit is contained in:
parent
06adaf3331
commit
be129c0956
@ -6,7 +6,6 @@ module-type: tiddlerdeserializer
|
|||||||
BibTeX file deserializer
|
BibTeX file deserializer
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -46,5 +45,3 @@ exports["application/x-bibtex"] = function(text,fields) {
|
|||||||
// Return the output tiddlers
|
// Return the output tiddlers
|
||||||
return results;
|
return results;
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: info
|
|||||||
Initialise $:/info/browser tiddlers
|
Initialise $:/info/browser tiddlers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -78,5 +77,3 @@ exports.getInfoTiddlerFields = function() {
|
|||||||
}
|
}
|
||||||
return infoTiddlerFields;
|
return infoTiddlerFields;
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -7,8 +7,6 @@ Startup code injected as raw markup
|
|||||||
|
|
||||||
\*/
|
\*/
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
// Need to initialise these because we run before bootprefix.js and boot.js
|
// Need to initialise these because we run before bootprefix.js and boot.js
|
||||||
$tw = window.$tw || Object.create(null);
|
$tw = window.$tw || Object.create(null);
|
||||||
$tw.hooks = $tw.hooks || { names: {}};
|
$tw.hooks = $tw.hooks || { names: {}};
|
||||||
@ -89,5 +87,3 @@ function hookBootTiddlersLoaded() {
|
|||||||
text: $tw.utils.stringifyList(log)
|
text: $tw.utils.stringifyList(log)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Startup initialisation
|
Startup initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -135,5 +134,3 @@ exports.startup = function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -7,8 +7,6 @@ Utility methods for browser-storage plugin
|
|||||||
|
|
||||||
\*/
|
\*/
|
||||||
|
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -109,5 +107,3 @@ BrowserStorageUtil.prototype.clearLocalStorage = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.BrowserStorageUtil = BrowserStorageUtil;
|
exports.BrowserStorageUtil = BrowserStorageUtil;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -8,7 +8,6 @@ Module to deserialize tiddlers from an old school TiddlyWiki recipe file.
|
|||||||
The idea is to process the recipe file recursively, loading tiddlers into the main store using synchronous file operations. The tiddlers have their titles prefixed with the associated marker in curly brackets ("{shadow}", "{tiddler}" etc).
|
The idea is to process the recipe file recursively, loading tiddlers into the main store using synchronous file operations. The tiddlers have their titles prefixed with the associated marker in curly brackets ("{shadow}", "{tiddler}" etc).
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -80,5 +79,3 @@ exports["text/vnd.tiddlywiki2-recipe"] = function(text,fields) {
|
|||||||
});
|
});
|
||||||
return tiddlers;
|
return tiddlers;
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Edit-codemirror widget
|
Edit-codemirror widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -16,5 +15,3 @@ var editTextWidgetFactory = require("$:/core/modules/editor/factory.js").editTex
|
|||||||
CodeMirrorEngine = require("$:/plugins/tiddlywiki/codemirror/engine.js").CodeMirrorEngine;
|
CodeMirrorEngine = require("$:/plugins/tiddlywiki/codemirror/engine.js").CodeMirrorEngine;
|
||||||
|
|
||||||
exports["edit-codemirror"] = editTextWidgetFactory(CodeMirrorEngine,CodeMirrorEngine);
|
exports["edit-codemirror"] = editTextWidgetFactory(CodeMirrorEngine,CodeMirrorEngine);
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Text editor engine based on a CodeMirror instance
|
Text editor engine based on a CodeMirror instance
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -316,5 +315,3 @@ CodeMirrorEngine.prototype.executeTextOperation = function(operation) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.CodeMirrorEngine = $tw.browser ? CodeMirrorEngine : require("$:/core/modules/editor/engines/simple.js").SimpleEngine;
|
exports.CodeMirrorEngine = $tw.browser ? CodeMirrorEngine : require("$:/core/modules/editor/engines/simple.js").SimpleEngine;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: global
|
|||||||
Confetti manager
|
Confetti manager
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -52,5 +51,3 @@ ConfettiManager.prototype.reset = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.ConfettiManager = ConfettiManager;
|
exports.ConfettiManager = ConfettiManager;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Confetti widget
|
Confetti widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -63,5 +62,3 @@ ConfettiWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.confetti = ConfettiWidget;
|
exports.confetti = ConfettiWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Setup the root widget event handlers
|
Setup the root widget event handlers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -59,5 +58,3 @@ exports.startup = function() {
|
|||||||
$tw.confettiManager.reset();
|
$tw.confettiManager.reset();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
An override of the raw widget that blocks raw content until the user has consented to accept cookies
|
An override of the raw widget that blocks raw content until the user has consented to accept cookies
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -65,5 +64,3 @@ RawWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.raw = RawWidget;
|
exports.raw = RawWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Startup initialisation
|
Startup initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -103,5 +102,3 @@ exports.startup = function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Dynannotate widget
|
Dynannotate widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -433,5 +432,3 @@ DynannotateWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.dynannotate = DynannotateWidget;
|
exports.dynannotate = DynannotateWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Manages the element spotlight effect
|
Manages the element spotlight effect
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -132,5 +131,3 @@ ElementSpotlight.prototype.shineSpotlight = function(selectors) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.ElementSpotlight = ElementSpotlight;
|
exports.ElementSpotlight = ElementSpotlight;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Legacy version of the dyannotate background daemon to track the selection
|
Legacy version of the dyannotate background daemon to track the selection
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -100,5 +99,3 @@ LegacySelectionTracker.prototype.findSelectionContainer = function findSelection
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.LegacySelectionTracker = LegacySelectionTracker;
|
exports.LegacySelectionTracker = LegacySelectionTracker;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Background daemon to track the selection
|
Background daemon to track the selection
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -167,5 +166,3 @@ SelectionTracker.prototype.performSelectionActions = function(chunks,variables,a
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.SelectionTracker = SelectionTracker;
|
exports.SelectionTracker = SelectionTracker;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -8,7 +8,6 @@ module-type: startup
|
|||||||
Startup the dyannotate background daemon to track the selection
|
Startup the dyannotate background daemon to track the selection
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -59,5 +58,3 @@ exports.startup = function() {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Structure for modelling mapping between a string and its representation in the DOM
|
Structure for modelling mapping between a string and its representation in the DOM
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -178,5 +177,3 @@ exports.TextMap.prototype.extractContext = function(startContainer,startOffset,t
|
|||||||
suffix: this.string.slice(startPos + text.length, Math.min(startPos + text.length + PREFIX_SUFFIX_LENGTH, this.string.length))
|
suffix: this.string.slice(startPos + text.length, Math.min(startPos + text.length + PREFIX_SUFFIX_LENGTH, this.string.length))
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Zoom everything
|
Zoom everything
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -263,5 +262,3 @@ function saveViewportDimensions() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -8,7 +8,6 @@ ENEX file deserializer
|
|||||||
For details see: https://blog.evernote.com/tech/2013/08/08/evernote-export-format-enex/
|
For details see: https://blog.evernote.com/tech/2013/08/08/evernote-export-format-enex/
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -134,6 +133,3 @@ function fixAttachmentReference(contentNode, md5Hash, mimeType, name) {
|
|||||||
mediaNode.parentNode.replaceChild($tw.utils.domMaker("p", {text: "[["+ name + "]]"}), mediaNode);
|
mediaNode.parentNode.replaceChild($tw.utils.domMaker("p", {text: "[["+ name + "]]"}), mediaNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Startup initialisation
|
Startup initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -123,6 +122,3 @@ function test_makePathRelative() {
|
|||||||
test("\\\\SHARE\\Users\\me\\something\\file.png","/SHARE/Users/me/somethingelse/index.html","../something/file.png",{isWindows: true});
|
test("\\\\SHARE\\Users\\me\\something\\file.png","/SHARE/Users/me/somethingelse/index.html","../something/file.png",{isWindows: true});
|
||||||
test("\\\\SHARE\\Users\\me\\something\\file.png","/C:/Users/me/something/index.html","/SHARE/Users/me/something/file.png",{isWindows: true});
|
test("\\\\SHARE\\Users\\me\\something\\file.png","/C:/Users/me/something/index.html","/SHARE/Users/me/something/file.png",{isWindows: true});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: syncadaptor
|
|||||||
A sync adaptor module for synchronising with the local filesystem via node.js APIs
|
A sync adaptor module for synchronising with the local filesystem via node.js APIs
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -167,5 +166,3 @@ FileSystemAdaptor.prototype.removeTiddlerFileInfo = function(title) {
|
|||||||
if(fs) {
|
if(fs) {
|
||||||
exports.adaptorClass = FileSystemAdaptor;
|
exports.adaptorClass = FileSystemAdaptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
A copy of the core text widget under a different name
|
A copy of the core text widget under a different name
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -58,5 +57,3 @@ PlainTextNodeWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports["plain-text"] = PlainTextNodeWidget;
|
exports["plain-text"] = PlainTextNodeWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
An override of the core text widget that automatically linkifies the text
|
An override of the core text widget that automatically linkifies the text
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -164,5 +163,3 @@ TextNodeWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.text = TextNodeWidget;
|
exports.text = TextNodeWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Geospatial utilities
|
Geospatial utilities
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -37,5 +36,3 @@ exports.parsePoint = function(str) {
|
|||||||
// Return the string now we know it is a valid GeoJSON Point
|
// Return the string now we know it is a valid GeoJSON Point
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operators for geospatial helpers
|
Filter operators for geospatial helpers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -20,5 +19,3 @@ exports.geopoint = function(source,operator,options) {
|
|||||||
alt = $tw.utils.parseNumber(operator.operands[2] || "0");
|
alt = $tw.utils.parseNumber(operator.operands[2] || "0");
|
||||||
return [JSON.stringify(turf.point([long,lat,alt]))];
|
return [JSON.stringify(turf.point([long,lat,alt]))];
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operators for geospatial lookup
|
Filter operators for geospatial lookup
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -41,5 +40,3 @@ function getPolygonsContainingPoint(featureCollection,point) {
|
|||||||
});
|
});
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operators for geospatial measurement
|
Filter operators for geospatial measurement
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -50,5 +49,3 @@ exports.geonearestpoint = function(source,operator,options) {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operators for open location code conversions
|
Filter operators for open location code conversions
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -51,5 +50,3 @@ exports["olc-encode"] = function(source,operator,options) {
|
|||||||
}
|
}
|
||||||
return [olc];
|
return [olc];
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operators for geospatial transformation
|
Filter operators for geospatial transformation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -83,6 +82,3 @@ function geojsonOp(geojsonObjects, op) {
|
|||||||
});
|
});
|
||||||
return turf.featureCollection(resultFeatures);
|
return turf.featureCollection(resultFeatures);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Geospatial initialisation
|
Geospatial initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -74,5 +73,3 @@ exports.startup = function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,12 +6,9 @@ module-type: widget
|
|||||||
geobaselayer widget to represent a base layer for a geomap widget. Clone of the data widget
|
geobaselayer widget to represent a base layer for a geomap widget. Clone of the data widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
exports.geobaselayer = require("$:/core/modules/widgets/data.js").data;
|
exports.geobaselayer = require("$:/core/modules/widgets/data.js").data;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,12 +6,9 @@ module-type: widget
|
|||||||
geolayer widget to represent a layer for a geomap widget. Clone of the data widget
|
geolayer widget to represent a layer for a geomap widget. Clone of the data widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
exports.geolayer = require("$:/core/modules/widgets/data.js").data;
|
exports.geolayer = require("$:/core/modules/widgets/data.js").data;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Leaflet map widget
|
Leaflet map widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -351,6 +350,3 @@ GeomapWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.geomap = GeomapWidget;
|
exports.geomap = GeomapWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Runs Google Analytics with the measurement ID in the tiddler `$:/GoogleAnalyticsMeasurementID`
|
Runs Google Analytics with the measurement ID in the tiddler `$:/GoogleAnalyticsMeasurementID`
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -55,7 +54,3 @@ exports.startup = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Wraps up the fenced code blocks parser for highlight and use in TiddlyWiki5
|
Wraps up the fenced code blocks parser for highlight and use in TiddlyWiki5
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -47,5 +46,3 @@ if(hljs.getLanguage !== undefined) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,12 +6,9 @@ module-type: widget
|
|||||||
Anchor widget to represent an innerwiki graphical anchor. Clone of the data widget
|
Anchor widget to represent an innerwiki graphical anchor. Clone of the data widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
exports.anchor = require("$:/core/modules/widgets/data.js").data;
|
exports.anchor = require("$:/core/modules/widgets/data.js").data;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Widget to display an innerwiki in an iframe
|
Widget to display an innerwiki in an iframe
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -347,5 +346,3 @@ InnerWikiWidget.prototype.saveScreenshot = function(options,callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.innerwiki = InnerWikiWidget;
|
exports.innerwiki = InnerWikiWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: command
|
|||||||
Commands to render tiddlers identified by a filter and save any screenshots identified by <$innerwiki> widgets
|
Commands to render tiddlers identified by a filter and save any screenshots identified by <$innerwiki> widgets
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -79,5 +78,3 @@ Command.prototype.findInnerWikiWidgets = function(widgetNode) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.Command = Command;
|
exports.Command = Command;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
The main module of the Jasmine test plugin for TiddlyWiki5
|
The main module of the Jasmine test plugin for TiddlyWiki5
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: true */
|
/*global $tw: true */
|
||||||
@ -157,5 +156,3 @@ exports.runTests = function(callback,specFilter) {
|
|||||||
nodeJasmineWrapper.execute(null,specFilter);
|
nodeJasmineWrapper.execute(null,specFilter);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ tags: [[$:/tags/test-spec]]
|
|||||||
Tests the wiki based tests
|
Tests the wiki based tests
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -99,5 +98,3 @@ describe("Wiki-based tests", function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
The main module of the Jasmine test plugin for TiddlyWiki5
|
The main module of the Jasmine test plugin for TiddlyWiki5
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: true */
|
/*global $tw: true */
|
||||||
@ -34,5 +33,3 @@ if($tw.browser) {
|
|||||||
// We make this check after the commands are run.
|
// We make this check after the commands are run.
|
||||||
exports.after = ["commands"];
|
exports.after = ["commands"];
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Setup the root widget event handlers
|
Setup the root widget event handlers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -100,5 +99,3 @@ function downloadZipFile(title,filename) {
|
|||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -17,7 +17,6 @@ This wikiparser can be modified using the rules eg:
|
|||||||
```
|
```
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -65,5 +64,3 @@ exports.parse = function() {
|
|||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Wrapper for `katex.min.js` that provides a `<$latex>` widget. It is also available under the alias `<$katex>`
|
Wrapper for `katex.min.js` that provides a `<$latex>` widget. It is also available under the alias `<$katex>`
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -94,6 +93,3 @@ KaTeXWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
|
|
||||||
exports.latex = KaTeXWidget;
|
exports.latex = KaTeXWidget;
|
||||||
exports.katex = KaTeXWidget;
|
exports.katex = KaTeXWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ module-type: library
|
|||||||
|
|
||||||
Based on markdown-it-katex v2.0.0 by @waylonflinn https://github.com/waylonflinn/markdown-it-katex | MIT License
|
Based on markdown-it-katex v2.0.0 by @waylonflinn https://github.com/waylonflinn/markdown-it-katex | MIT License
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
/* Process inline math */
|
/* Process inline math */
|
||||||
/*
|
/*
|
||||||
Like markdown-it-simplemath, this is a stripped down, simplified version of:
|
Like markdown-it-simplemath, this is a stripped down, simplified version of:
|
||||||
@ -167,4 +166,3 @@ module.exports = function math_plugin(md, options) {
|
|||||||
md.inline.ruler.after('escape', 'math_inline', math_inline);
|
md.inline.ruler.after('escape', 'math_inline', math_inline);
|
||||||
md.inline.ruler.after('escape', 'math_inline_block', math_inline_block);
|
md.inline.ruler.after('escape', 'math_inline_block', math_inline_block);
|
||||||
};
|
};
|
||||||
})();
|
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Wraps up the markdown-it parser for use as a Parser in TiddlyWiki
|
Wraps up the markdown-it parser for use as a Parser in TiddlyWiki
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -535,5 +534,3 @@ module.exports = function tiddlyWikiPlugin(markdown,options) {
|
|||||||
md.core.ruler.disable('text_join');
|
md.core.ruler.disable('text_join');
|
||||||
md.core.ruler.push('wikify',wikify);
|
md.core.ruler.push('wikify',wikify);
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: parser
|
|||||||
Wraps up the markdown-it parser for use as a Parser in TiddlyWiki
|
Wraps up the markdown-it parser for use as a Parser in TiddlyWiki
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -261,4 +260,3 @@ function MarkdownParser(type,text,options) {
|
|||||||
|
|
||||||
exports["text/markdown"] = MarkdownParser;
|
exports["text/markdown"] = MarkdownParser;
|
||||||
exports["text/x-markdown"] = MarkdownParser;
|
exports["text/x-markdown"] = MarkdownParser;
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
A simple HTTP-over-window.postMessage implementation of a standard TiddlyWeb-compatible server. It uses real HTTP to load the individual tiddler JSON files.
|
A simple HTTP-over-window.postMessage implementation of a standard TiddlyWeb-compatible server. It uses real HTTP to load the individual tiddler JSON files.
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -86,5 +85,3 @@ function httpGet(url,callback) {
|
|||||||
};
|
};
|
||||||
http.send();
|
http.send();
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
barcodereader widget for reading barcodes
|
barcodereader widget for reading barcodes
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -86,5 +85,3 @@ BarCodeReaderWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.barcodereader = BarCodeReaderWidget;
|
exports.barcodereader = BarCodeReaderWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: macro
|
|||||||
Macro to convert a string into a QR Code
|
Macro to convert a string into a QR Code
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -69,6 +68,3 @@ function generateQrCode(text,options) {
|
|||||||
margin = parseInt((size - qr.getModuleCount() * cellsize) / 2);
|
margin = parseInt((size - qr.getModuleCount() * cellsize) / 2);
|
||||||
return qr.createImgTag(cellsize, margin, size);
|
return qr.createImgTag(cellsize, margin, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Components of a railroad diagram.
|
Components of a railroad diagram.
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -287,5 +286,3 @@ exports.components = {
|
|||||||
Terminal: Terminal,
|
Terminal: Terminal,
|
||||||
Transclusion: Transclusion
|
Transclusion: Transclusion
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
@ -33,7 +33,6 @@ pragmas:
|
|||||||
\end single|double|none
|
\end single|double|none
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -448,5 +447,3 @@ Parser.prototype.readPragma = function(source,pos) {
|
|||||||
/////////////////////////// Exports
|
/////////////////////////// Exports
|
||||||
|
|
||||||
exports.parser = Parser;
|
exports.parser = Parser;
|
||||||
|
|
||||||
})();
|
|
@ -6,7 +6,6 @@ module-type: parser
|
|||||||
This parser wraps unadorned railroad syntax into a railroad widget
|
This parser wraps unadorned railroad syntax into a railroad widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -23,6 +22,3 @@ console.log(text);
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports["text/vnd.tiddlywiki.railroad"] = RailroadParser;
|
exports["text/vnd.tiddlywiki.railroad"] = RailroadParser;
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Wrapper for `railroad-diagrams.js` that provides a `<$railroad>` widget.
|
Wrapper for `railroad-diagrams.js` that provides a `<$railroad>` widget.
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -143,5 +142,3 @@ RailroadWidget.prototype.dispatchLink = function(to,event) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.railroad = RailroadWidget;
|
exports.railroad = RailroadWidget;
|
||||||
|
|
||||||
})();
|
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
A startup module to download every changed tiddler as a JSON file
|
A startup module to download every changed tiddler as a JSON file
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -149,5 +148,3 @@ function saveTiddlerFile(tiddler,options) {
|
|||||||
link.click();
|
link.click();
|
||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Read tiddlers from the browser location hash
|
Read tiddlers from the browser location hash
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -108,5 +107,3 @@ function removeWarningBanner() {
|
|||||||
warningWrapper.parentNode.removeChild(warningWrapper);
|
warningWrapper.parentNode.removeChild(warningWrapper);
|
||||||
stylesWrapper.parentNode.removeChild(stylesWrapper);
|
stylesWrapper.parentNode.removeChild(stylesWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: storyview
|
|||||||
Keeps tiddlers in a stack
|
Keeps tiddlers in a stack
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -84,5 +83,3 @@ StackedListView.prototype.remove = function(widget) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.stacked = StackedListView;
|
exports.stacked = StackedListView;
|
||||||
|
|
||||||
})();
|
|
@ -6,7 +6,6 @@ module-type: filteroperator
|
|||||||
Filter operator returning all the descendents of a tiddler listed in the "list" field
|
Filter operator returning all the descendents of a tiddler listed in the "list" field
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -34,5 +33,3 @@ exports["list-children"] = function(source,operator,options) {
|
|||||||
});
|
});
|
||||||
return Object.keys(children);
|
return Object.keys(children);
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -16,7 +16,6 @@ var slicer = new textSlicer.Slicer(doc,{
|
|||||||
});
|
});
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -474,5 +473,3 @@ Slicer.prototype.makeTitle = function(prefix) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.Slicer = Slicer;
|
exports.Slicer = Slicer;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Setup the root widget event handlers
|
Setup the root widget event handlers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -47,5 +46,3 @@ exports.startup = function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: syncadaptor
|
|||||||
A sync adaptor module for synchronising with TiddlyWeb compatible servers
|
A sync adaptor module for synchronising with TiddlyWeb compatible servers
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -375,5 +374,3 @@ TiddlyWebAdaptor.prototype.parseEtag = function(etag) {
|
|||||||
if($tw.browser && document.location.protocol.substr(0,4) === "http" ) {
|
if($tw.browser && document.location.protocol.substr(0,4) === "http" ) {
|
||||||
exports.adaptorClass = TiddlyWebAdaptor;
|
exports.adaptorClass = TiddlyWebAdaptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: widget
|
|||||||
Transclude widget
|
Transclude widget
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -191,5 +190,3 @@ TranscludeWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.classictransclude = TranscludeWidget;
|
exports.classictransclude = TranscludeWidget;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -3,7 +3,6 @@ title: $:/macros/tiddlywiki/entry.js
|
|||||||
type: application/javascript
|
type: application/javascript
|
||||||
module-type: macro
|
module-type: macro
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -27,4 +26,3 @@ exports.run = function(key,map) {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})();
|
|
||||||
|
@ -3,7 +3,6 @@ title: $:/macros/classic/macroadapter.js
|
|||||||
type: application/javascript
|
type: application/javascript
|
||||||
module-type: module
|
module-type: module
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -94,4 +93,3 @@ var paramadapter = {
|
|||||||
exports.name = 'macroadapter';
|
exports.name = 'macroadapter';
|
||||||
exports.namedapter = namedapter;
|
exports.namedapter = namedapter;
|
||||||
exports.paramadapter = paramadapter;
|
exports.paramadapter = paramadapter;
|
||||||
})();
|
|
||||||
|
@ -28,7 +28,6 @@ HTML nodes look like this:
|
|||||||
`
|
`
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -196,5 +195,3 @@ WikiTextParser.prototype.subWikifyTerm = function(output,terminatorRegExp) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports["text/x-tiddlywiki"] = WikiTextParser;
|
exports["text/x-tiddlywiki"] = WikiTextParser;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: module
|
|||||||
Rule modules for the wikitext parser
|
Rule modules for the wikitext parser
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -824,5 +823,3 @@ var rules = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
exports.rules = rules;
|
exports.rules = rules;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: utils
|
|||||||
Utility class for manipulating Twitter archives
|
Utility class for manipulating Twitter archives
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -315,5 +314,3 @@ function arrayBufferToBase64(arrayBuffer) {
|
|||||||
exports.TwitterArchivist = TwitterArchivist;
|
exports.TwitterArchivist = TwitterArchivist;
|
||||||
exports.TwitterArchivistSourceNodeJs = TwitterArchivistSourceNodeJs;
|
exports.TwitterArchivistSourceNodeJs = TwitterArchivistSourceNodeJs;
|
||||||
exports.TwitterArchivistSourceBrowser = TwitterArchivistSourceBrowser;
|
exports.TwitterArchivistSourceBrowser = TwitterArchivistSourceBrowser;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: command
|
|||||||
Read tiddlers from an unzipped Twitter archive
|
Read tiddlers from an unzipped Twitter archive
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -49,5 +48,3 @@ Command.prototype.execute = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.Command = Command;
|
exports.Command = Command;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Twitter initialisation
|
Twitter initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -34,5 +33,3 @@ exports.startup = function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Startup module for configuring the upgrade plugin
|
Startup module for configuring the upgrade plugin
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -22,5 +21,3 @@ exports.startup = function() {
|
|||||||
$tw.config.usePasswordVault = true;
|
$tw.config.usePasswordVault = true;
|
||||||
$tw.config.disableAutoSave = true;
|
$tw.config.disableAutoSave = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: tiddlerdeserializer
|
|||||||
XLSX file deserializer
|
XLSX file deserializer
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -26,5 +25,3 @@ exports["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] = f
|
|||||||
// Return the output tiddlers
|
// Return the output tiddlers
|
||||||
return importer.getResults();
|
return importer.getResults();
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: library
|
|||||||
Class to import an Excel file
|
Class to import an Excel file
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -201,5 +200,3 @@ XLSXImporter.prototype.findColumns = function(sheet,sheetSize) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.XLSXImporter = XLSXImporter;
|
exports.XLSXImporter = XLSXImporter;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: startup
|
|||||||
Initialisation
|
Initialisation
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -25,5 +24,3 @@ exports.startup = function() {
|
|||||||
logger.alert("The plugin 'xlsx-utils' requires the 'jszip' plugin to be installed");
|
logger.alert("The plugin 'xlsx-utils' requires the 'jszip' plugin to be installed");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: command
|
|||||||
Command to import an xlsx file
|
Command to import an xlsx file
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -42,5 +41,3 @@ Command.prototype.execute = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.Command = Command;
|
exports.Command = Command;
|
||||||
|
|
||||||
})();
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user