meshviewer/lib/container.js
Nils Schneider 368ca5e14a simple tabs
2015-03-26 00:33:11 +01:00

18 lines
279 B
JavaScript

define([], function () {
return function () {
var self = this
var container = document.createElement("div")
self.add = function (d) {
d.render(container)
}
self.render = function (el) {
el.appendChild(container)
}
return self
}
})