Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make things a little more dynamic.

  • Loading branch information...
commit ed33415ea68cd7b32d0c008a4dad69acb0e52632 1 parent 7077e80
@smerrill smerrill authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 responsive-screenshots.coffee
View
4 responsive-screenshots.coffee
@@ -17,13 +17,13 @@ casper = require('casper').create({
logLevel: "debug",
})
-casper.test.comment 'georgia.gov - Screenshots to test responsive breakpoints'
+casper.test.comment "#{url} - Screenshots to test responsive breakpoints"
casper.start()
# Needed so that the first screenshot works, sadly.
casper.then ->
- @viewport 1280, 1024
+ @viewport breakpoints[0][0], breakpoints[0][1]
@open url + links[0]
@echo "Opening URL #{url + links[0]}."
@wait 2000
Please sign in to comment.
Something went wrong with that request. Please try again.