Commit 63ba92bb 63ba92bb686682d7b6d2b17f9b72fca3f7f5f568 by Brikou CARRE

tweaked sample description annotation

1 parent 01c97982
/*
Create a mosaic image from all headline photos on BBC homepage
*/
* Create a mosaic image from all headline photos on BBC homepage
*/
var buildPage, casper, currentLink, images, nbLinks, next;
......
/*
This script will add a custom HTTP status code handler, here for 404 pages.
*/
* This script will add a custom HTTP status code handler, here for 404 pages.
*/
var casper, links;
......
/*
Capture multiple pages of google search results
Usage: $ casperjs googlepagination.coffee my search terms
(all arguments will be used as the query)
*/
* Capture multiple pages of google search results
*
* Usage: $ casperjs googlepagination.coffee my search terms
*
* (all arguments will be used as the query)
*/
var casper, currentPage, processPage;
......
var casper;
casper = require("casper").create({
var casper = require("casper").create({
logLevel: "debug"
});
......
/*
This script will capture a screenshot of a twitter account page
Usage: $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
*/
* This script will capture a screenshot of a twitter account page
* Usage: $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
*/
var casper, filename, twitterAccount;
......
/*
This script will add a custom HTTP status code handler, here for 404 pages.
*/
* This script will add a custom HTTP status code handler, here for 404 pages.
*/
var casper;
casper = require("casper").create({
var casper = require("casper").create({
httpStatusHandlers: {
404: function(self, resource) {
this.echo("Resource at " + resource.url + " not found (404)", "COMMENT");
......