make eslint happier

This commit is contained in:
Nils Schneider 2015-03-30 03:20:43 +02:00
parent c4db68b31f
commit 1f8cb5203e
5 changed files with 103 additions and 101 deletions
lib/infobox

View file

@ -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