mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-12 10:20:26 +00:00
Remove obsolete code
Left over after refactoring
This commit is contained in:
parent
8e4c13382b
commit
eef7d180a5
@ -70,18 +70,6 @@ GenesisWidget.prototype.execute = function() {
|
|||||||
}
|
}
|
||||||
$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],$tw.utils.extend({},attribute,{name: name}));
|
$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
|
// Apply attributes in $names/$values
|
||||||
this.attributeNames = [];
|
this.attributeNames = [];
|
||||||
this.attributeValues = [];
|
this.attributeValues = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user