Home | History | Annotate | Download | only in resources
      1 {{header}}
      2 {{object 1 0}} <<
      3   /Type /Catalog
      4   /Pages 2 0 R
      5   /AcroForm 6 0 R
      6   /Names <</JavaScript 13 0 R>>
      7 >>
      8 endobj
      9 {{object 2 0}} <<
     10   /Type /Pages
     11   /Count 1
     12   /Kids [4 0 R]
     13 >>
     14 endobj
     15 {{object 4 0}} <<
     16   /Type /Page
     17   /Parent 2 0 R
     18   /MediaBox [0 0 612 792]
     19   /CropBox [0 0 612 792]
     20   /Resources  <<>>
     21 >>
     22 endobj
     23 {{object 6 0}} <<
     24   /DR <<
     25     /Font <</Helv 7 0 R>>
     26   >>
     27   /DA (/Helv 0 Tf 0 g)
     28   /Fields [5 0 R]
     29 >>
     30 endobj
     31 {{object 7 0}} <<
     32   /Type /Font
     33   /Subtype /Type1
     34   /BaseFont /Helvetica
     35   /Encoding /WinAnsiEncoding
     36 >>
     37 endobj
     38 {{object 8 0}} <<
     39   /Type /XObject
     40   /Subtype /Form
     41   /FormType 1
     42   /Matrix [1 0 0 1 0 0]
     43   /BBox [0 0 75.907 28.472]
     44   /Resources  <<
     45     /Font <</FXF0 7 0 R>>
     46   >>
     47 >>
     48 stream
     49 q
     50 Q
     51 
     52 
     53 endstream
     54 endobj
     55 {{object 11 0}} <<
     56   /Type /Action
     57   /S /JavaScript
     58   /JS 50 0 R
     59 >>
     60 endobj
     61 {{object 13 0}} <<
     62   /Names [(startDelay) 11 0 R]
     63 >>
     64 endobj
     65 {{object 50 0}} <<
     66 >>
     67 stream
     68 function fireTimeOut() {
     69   app.alert("hello world");
     70 }
     71 function fireInterval() {
     72   app.alert("goodbye world");
     73 }
     74 var timer = app.setTimeOut("fireTimeOut()", 3000);
     75 var interval = app.setInterval("fireInterval()", 1000);
     76 // Clear timers before they fire.
     77 app.clearTimeOut(timer);
     78 app.clearInterval(interval);
     79 // Check that clearing a cleared timer is ok.
     80 app.clearTimeOut(timer);
     81 app.clearInterval(interval);
     82 // Check that invoking the wrong clear method is ok
     83 var timer = app.setTimeOut("fireTimeOut()", 3000);
     84 var interval = app.setInterval("fireInterval()", 1000);
     85 app.clearTimeOut(interval);
     86 app.clearInterval(timer);
     87 // Check that clearing a non-timer is ok.
     88 app.clearTimeOut({"size": 42});
     89 app.clearInterval({"size": 42});
     90 // Be sure all of this code ran to completion.
     91 app.alert("done");
     92 endstream
     93 endobj
     94 {{xref}}
     95 trailer <<
     96   /Root 1 0 R
     97 >>
     98 {{startxref}}
     99 %%EOF
    100