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
f7110def
...
f7110def360152c9fb3f3328147cd249af2d9d7b
authored
2012-12-21 22:42:19 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refs #325 - updated evaluate() calls in samples
1 parent
0cef17ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
samples/bbcshots.coffee
samples/bbcshots.js
samples/bbcshots.coffee
View file @
f7110de
...
...
@@ -11,7 +11,7 @@ images = []
casper
.
hide
=
(
selector
)
->
@
evaluate
(
selector
)
->
document
.
querySelector
(
selector
).
style
.
display
=
"none"
,
selector
:
selector
,
selector
casper
.
start
"http://www.bbc.co.uk/"
,
->
nbLinks
=
@
evaluate
->
...
...
samples/bbcshots.js
View file @
f7110de
...
...
@@ -14,9 +14,7 @@ var buildPage, next;
casper
.
hide
=
function
(
selector
)
{
this
.
evaluate
(
function
(
selector
)
{
document
.
querySelector
(
selector
).
style
.
display
=
"none"
;
},
{
selector
:
selector
});
},
selector
);
};
casper
.
start
(
"http://www.bbc.co.uk/"
,
function
()
{
...
...
Please
register
or
sign in
to post a comment