TypeScript/tests/baselines/reference/recursiveNamedLambdaCall.errors.txt
2014-07-12 17:30:19 -07:00

30 lines
720 B
Plaintext

==== tests/cases/compiler/recursiveNamedLambdaCall.ts (5 errors) ====
var promise = function( obj ) {
if ( top && top.doScroll ) {
~~~
!!! Cannot find name 'top'.
~~~
!!! Cannot find name 'top'.
(function doScrollCheck() {
if ( false ) {
try {
top.doScroll("left");
~~~
!!! Cannot find name 'top'.
} catch(e) {
return setTimeout( doScrollCheck, 50 );
~~~~~~~~~~
!!! Cannot find name 'setTimeout'.
}
// detach all dom ready events
detach();
~~~~~~
!!! Cannot find name 'detach'.
}
})();
}
};