rename gotoAnything to router
This commit is contained in:
parent
a2669373a0
commit
265cb2e5eb
7 changed files with 39 additions and 39 deletions
|
|
@ -1,5 +1,5 @@
|
|||
define(function () {
|
||||
return function(linkScale, gotoAnything) {
|
||||
return function(linkScale, router) {
|
||||
var self = this
|
||||
var el
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ define(function () {
|
|||
var a = document.createElement("a")
|
||||
a.textContent = d.source.node.nodeinfo.hostname + " – " + d.target.node.nodeinfo.hostname
|
||||
a.href = "#"
|
||||
a.onclick = gotoAnything.link(d)
|
||||
a.onclick = router.link(d)
|
||||
td1.appendChild(a)
|
||||
row.appendChild(td1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue