mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
feat: import base type
This commit is contained in:
parent
24279cca6a
commit
e3fc9b4d33
@ -1,3 +1,9 @@
|
||||
/*\
|
||||
title: $:/core/modules/parsers/base.js
|
||||
type: application/javascript
|
||||
module-type: library
|
||||
\*/
|
||||
|
||||
/**
|
||||
* Base structure for a parse node
|
||||
*
|
||||
|
@ -1051,7 +1051,7 @@ exports.initParsers = function(moduleType) {
|
||||
* @param {string} [options.defaultType="text/vnd.tiddlywiki"] - Default type to use if no parser is found for specified type
|
||||
* @param {boolean} [options.configTrimWhiteSpace=false] - If true, trims white space according to configuration
|
||||
*
|
||||
* @returns {Parser|null} Parser instance or null if no parser is found
|
||||
* @returns {Parser | null} Parser instance or null if no parser is found
|
||||
*/
|
||||
exports.parseText = function(type,text,options) {
|
||||
text = text || "";
|
||||
|
Loading…
Reference in New Issue
Block a user