Special __constructor_end hook to extend js constructors.

This commit is contained in:
RainLoop Team
2013-12-09 19:16:58 +04:00
parent f7106f375c
commit f562d80985
29 changed files with 161 additions and 20 deletions

View File

@@ -141,6 +141,8 @@ function MailBoxMessageViewViewModel()
this.messageActiveDom.subscribe(function () {
this.scrollMessageToTop();
}, this);
Knoin.constructorEnd(this);
}
Utils.extendAsViewModel('MailBoxMessageViewViewModel', MailBoxMessageViewViewModel);