make eslint happier
This commit is contained in:
parent
c4db68b31f
commit
1f8cb5203e
5 changed files with 103 additions and 101 deletions
lib/infobox
|
@ -1,13 +1,13 @@
|
|||
define(function () {
|
||||
return function (config, el, router, d) {
|
||||
var h2 = document.createElement("h2")
|
||||
a1 = document.createElement("a")
|
||||
var a1 = document.createElement("a")
|
||||
a1.href = "#"
|
||||
a1.onclick = router.node(d.source.node)
|
||||
a1.textContent = d.source.node.nodeinfo.hostname
|
||||
h2.appendChild(a1)
|
||||
h2.appendChild(document.createTextNode(" – "))
|
||||
a2 = document.createElement("a")
|
||||
var a2 = document.createElement("a")
|
||||
a2.href = "#"
|
||||
a2.onclick = router.node(d.target.node)
|
||||
a2.textContent = d.target.node.nodeinfo.hostname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue