18 lines
248 B
JavaScript
18 lines
248 B
JavaScript
|
var title = (function() {
|
||
|
|
||
|
var render = function() {
|
||
|
helper.e("title").textContent = state.get().layout.title;
|
||
|
};
|
||
|
|
||
|
var init = function() {
|
||
|
render();
|
||
|
};
|
||
|
|
||
|
// exposed methods
|
||
|
return {
|
||
|
render: render,
|
||
|
init: init
|
||
|
};
|
||
|
|
||
|
})();
|