kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Refine macro parameter test
rodzic
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() {
|
||||
|
|
Ładowanie…
Reference in New Issue