1
0
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:
Jeremy Ruston 2012-10-16 08:46:29 +01:00
parent 5a3e2ce438
commit 24f0a580b5

View File

@ -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() {