2019-05-09 18:54:39 +12:00
|
|
|
(function (window) {
|
2019-05-09 20:01:51 +12:00
|
|
|
window.ls.container.get('view').add(
|
2019-05-09 18:54:39 +12:00
|
|
|
{
|
|
|
|
'selector': 'data-page-title',
|
|
|
|
'repeat': true,
|
|
|
|
'controller': function (element, document, expression) {
|
|
|
|
document.title = expression.parse(element.getAttribute('data-page-title')) || document.title;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
})(window);
|