mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-19 16:24:51 +00:00
Refine macro parameter test
This commit is contained in:
parent
5a3e2ce438
commit
24f0a580b5
@ -126,7 +126,7 @@ Macro.prototype.parseMacroParamString = function(paramString) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Macro.prototype.hasParameter = function(name) {
|
Macro.prototype.hasParameter = function(name) {
|
||||||
return $tw.utils.hop(this.params,name);
|
return this.params[name] !== undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
Macro.prototype.cloneContent = function() {
|
Macro.prototype.cloneContent = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user