(ctor, obj, f)
| 912 | } |
| 913 | |
| 914 | function withSuper(ctor, obj, f) { |
| 915 | var oldCtor = cx.curSuperCtor, oldObj = cx.curSuper |
| 916 | cx.curSuperCtor = ctor; cx.curSuper = obj |
| 917 | var result = f() |
| 918 | cx.curSuperCtor = oldCtor; cx.curSuper = oldObj |
| 919 | return result |
| 920 | } |
| 921 | |
| 922 | // SCOPES |
| 923 |
no test coverage detected