handle most dependencies using requirejs
This commit is contained in:
parent
ca8992b07a
commit
5651c605de
9 changed files with 30 additions and 15 deletions
lib/infobox
|
@ -1,4 +1,4 @@
|
|||
define(function () {
|
||||
define(["moment", "tablesort", "tablesort.numeric"], function (moment, Tablesort) {
|
||||
return function(config, el, router, d) {
|
||||
var h2 = document.createElement("h2")
|
||||
h2.textContent = d.nodeinfo.hostname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue