Skip to content
  • 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
Switch branch/tag
  • casperjs
  • samples
  • each.coffee
  • Brikou CARRE's avatar
    moved var declaration to the top · f44d37b6
    f44d37b6
    Brikou CARRE authored 2012-05-21 15:29:20 +0200
each.coffee 243 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
casper = require("casper").create()

links = [
    "http://google.com/"
    "http://yahoo.com/"
    "http://bing.com/"
]

casper.start()

casper.each links, (self, link) ->
    @thenOpen link, -> @echo "#{@getTitle()} - #{link}"

casper.run()