mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 09:30:28 +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) {
|
||||
return $tw.utils.hop(this.params,name);
|
||||
return this.params[name] !== undefined;
|
||||
};
|
||||
|
||||
Macro.prototype.cloneContent = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user