Mercurial > pub > ImplabJs
changeset 6:9663631cbdb9
fix implab/declare/override
author | cin |
---|---|
date | Tue, 20 Jun 2017 00:33:15 +0300 |
parents | 3d124d0b9078 |
children | 9c0943c68a90 |
files | src/implab/declare/override.js |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/implab/declare/override.js Fri Jun 16 02:14:25 2017 +0300 +++ b/src/implab/declare/override.js Tue Jun 20 00:33:15 2017 +0300 @@ -10,8 +10,6 @@ var inherited = (this.getInherited && this.getInherited(proxy.nom, { callee: proxy })) || function () {}; - - inherited.arguments = arguments; return method.apply(me, [function () { return inherited.apply(me, arguments); @@ -33,8 +31,8 @@ var inherited = (this.getInherited && this.getInherited(proxy.nom, { callee: proxy })) || function () {}; - - + + method.apply(me, arguments); return inherited.apply(me, arguments); }; @@ -54,7 +52,7 @@ var inherited = (this.getInherited && this.getInherited(proxy.nom, { callee: proxy })) || function () {}; - + inherited.apply(me, arguments); return method.apply(me, arguments);