(ctor, obj, f)
| 926 | } |
| 927 | |
| 928 | function withSuper(ctor, obj, f) { |
| 929 | var oldCtor = cx.curSuperCtor, oldObj = cx.curSuper; |
| 930 | cx.curSuperCtor = ctor; cx.curSuper = obj; |
| 931 | var result = f(); |
| 932 | cx.curSuperCtor = oldCtor; cx.curSuper = oldObj; |
| 933 | return result; |
| 934 | } |
| 935 | |
| 936 | // SCOPES |
| 937 |
no test coverage detected
searching dependent graphs…