1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Remove extraneous debugging code from 35cbb127a3

This commit is contained in:
Jermolene 2018-06-15 11:34:06 +01:00
parent 35cbb127a3
commit 7557b8b5b7

View File

@ -104,7 +104,6 @@ Widget.prototype.getVariableInfo = function(name,options) {
value = $tw.utils.replaceString(value,new RegExp("\\$" + $tw.utils.escapeRegExp(param.name) + "\\$","mg"),param.value);
});
// Only substitute variable references if this variable was defined with the \define pragma
if(value.slice(0,4) ==="{{$(") {debugger;}
if(variable.isMacroDefinition) {
value = this.substituteVariableReferences(value);
}