Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
0bd0fbe3
...
0bd0fbe35ca7f35ded55b60bb1d86a0324e07879
authored
2011-12-27 14:43:41 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
correctly renamed test file
1 parent
3cdde7e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
tests/site/clik.html
tests/site/clik.html
deleted
100644 → 0
View file @
3cdde7e
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
CasperJS test click
</title>
</head>
<body>
<a
id=
"test1"
href=
"javascript:results.test1 = true;"
>
test1
</a>
<a
id=
"test2"
href=
"#"
onclick=
"results.test2 = true;"
>
test2
</a>
<a
id=
"test3"
href=
"page1.html"
onclick=
"results.test3 = true; return false"
>
test3
</a>
<a
id=
"test4"
href=
"page1.html"
>
test4
</a>
<script>
(
function
(
window
)
{
window
.
results
=
{
test1
:
false
,
test2
:
false
,
test3
:
false
,
test4
:
false
};
document
.
querySelector
(
'#test4'
).
onclick
=
function
(
event
)
{
results
.
test4
=
true
;
event
.
preventDefault
();
};
})(
window
);
</script>
</body>
</html>
Please
register
or
sign in
to post a comment