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>> 8endobj 9{{object 2 0}} << 10 /Type /Pages 11 /Count 1 12 /Kids [4 0 R] 13>> 14endobj 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>> 22endobj 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>> 30endobj 31{{object 7 0}} << 32 /Type /Font 33 /Subtype /Type1 34 /BaseFont /Helvetica 35 /Encoding /WinAnsiEncoding 36>> 37endobj 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>> 48stream 49q 50Q 51 52 53endstream 54endobj 55{{object 11 0}} << 56 /Type /Action 57 /S /JavaScript 58 /JS 50 0 R 59>> 60endobj 61{{object 13 0}} << 62 /Names [(startDelay) 11 0 R] 63>> 64endobj 65{{object 50 0}} << 66>> 67stream 68function fireTimeOut() { 69 app.alert("hello world"); 70} 71function fireInterval() { 72 app.alert("goodbye world"); 73} 74var timer = app.setTimeOut("fireTimeOut()", 3000); 75var interval = app.setInterval("fireInterval()", 1000); 76// Clear timers before they fire. 77app.clearTimeOut(timer); 78app.clearInterval(interval); 79// Check that clearing a cleared timer is ok. 80app.clearTimeOut(timer); 81app.clearInterval(interval); 82// Check that invoking the wrong clear method is ok 83var timer = app.setTimeOut("fireTimeOut()", 3000); 84var interval = app.setInterval("fireInterval()", 1000); 85app.clearTimeOut(interval); 86app.clearInterval(timer); 87// Check that clearing a non-timer is ok. 88app.clearTimeOut({"size": 42}); 89app.clearInterval({"size": 42}); 90// Be sure all of this code ran to completion. 91app.alert("done"); 92endstream 93endobj 94{{xref}} 95trailer << 96 /Root 1 0 R 97>> 98{{startxref}} 99%%EOF 100