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

@ -20,6 +20,17 @@ function Knoin()
});
}
/**
* @param {Object} thisObject
*/
Knoin.constructorEnd = function (thisObject)
{
if (Utils.isFunc(thisObject['__constructor_end']))
{
thisObject['__constructor_end'].call(thisObject);
}
};
Knoin.prototype.sDefaultScreenName = '';
Knoin.prototype.oScreens = {};
Knoin.prototype.oBoot = null;