Commit 3b7e28a0 3b7e28a0933762794223ba2527798b08ae167739 by Nicolas Perriault

added missing file

1 parent 0bd0fbe3
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>CasperJS test click</title>
6 </head>
7 <body>
8 <a id="test1" href="javascript:results.test1 = true;">test1</a>
9 <a id="test2" href="#" onclick="results.test2 = true;">test2</a>
10 <a id="test3" href="page1.html" onclick="results.test3 = true; return false">test3</a>
11 <a id="test4" href="page1.html">test4</a>
12 <script>
13 (function(window) {
14 window.results = {
15 test1: false,
16 test2: false,
17 test3: false,
18 test4: false
19 };
20 document.querySelector('#test4').onclick = function(event) {
21 results.test4 = true;
22 event.preventDefault();
23 };
24 })(window);
25 </script>
26 </body>
27 </html>