TypeScript/tests/baselines/reference/recursiveNamedLambdaCall.errors.txt

30 lines
720 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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'.
}
})();
}
};