Get rid of the obsolete link refreshing circuitry

We're going to redo links as macros and take advantage of that circuitry
print-window-tiddler
Jeremy Ruston 2012-01-15 13:27:59 +00:00
rodzic 2c20ef6aef
commit c4f9efd894
1 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -372,14 +372,6 @@ Arguments
*/
WikiStore.prototype.refreshDomNode = function(node,tiddler) {
// Process links
if(node.className) {
var classes = node.className.split(" ");
if(classes.indexOf("tw-tiddlylink") !== -1) {
var target = node.getAttribute("href");
node.className = this.adjustClassesForLink(classes,target).join(" ");
}
}
// Process macros
var macro = node.getAttribute && node.getAttribute("data-tw-macro"),
params = node.getAttribute && node.getAttribute("data-tw-params");