1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Remove obsolete code

Left over after refactoring
This commit is contained in:
jeremy@jermolene.com 2022-05-10 10:21:19 +01:00
parent 8e4c13382b
commit eef7d180a5

View File

@ -70,18 +70,6 @@ GenesisWidget.prototype.execute = function() {
}
$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],$tw.utils.extend({},attribute,{name: name}));
});
$tw.utils.each(this.attributes,function(value,name) {
if(name.charAt(0) === "$") {
if(name.charAt(1) === "$") {
// Double $$ is changed to a single $
name = name.substr(1);
} else {
// Single dollar is ignored
return;
}
}
$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],name,value);
});
// Apply attributes in $names/$values
this.attributeNames = [];
this.attributeValues = [];