mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 22:44:45 +00:00
Linting
This commit is contained in:
@@ -160,7 +160,7 @@ exports.parseMacroParameter = function(source,pos) {
|
||||
var node = {
|
||||
type: "macro-parameter",
|
||||
start: pos
|
||||
}
|
||||
};
|
||||
// Define our regexp
|
||||
var reMacroParameter = /(?:([A-Za-z0-9\-_]+)\s*:)?(?:\s*(?:"([^"]*)"|'([^']*)'|\[\[([^\]]*)\]\]|([^\s>"'=]+)))/g;
|
||||
// Skip whitespace
|
||||
@@ -197,7 +197,7 @@ exports.parseMacroInvocation = function(source,pos) {
|
||||
type: "macrocall",
|
||||
start: pos,
|
||||
params: []
|
||||
}
|
||||
};
|
||||
// Define our regexps
|
||||
var reMacroName = /([^\s>"'=]+)/g;
|
||||
// Skip whitespace
|
||||
|
||||
Reference in New Issue
Block a user