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

@ -94,6 +94,8 @@ function PopupsIdentityViewModel()
this.button = ko.computed(function () {
return Utils.i18n('POPUPS_IDENTITIES/' + (this.edit() ? 'BUTTON_UPDATE_IDENTITY': 'BUTTON_ADD_IDENTITY'));
}, this);
Knoin.constructorEnd(this);
}
Utils.extendAsViewModel('PopupsIdentityViewModel', PopupsIdentityViewModel);