Browse files

cookies work

  • Loading branch information...
1 parent fadfefe commit fb624ca1aa07e2586ad56d2dc209206d7d04b863 @juliangruber committed Jan 30, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 script/rasterize.js
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "review",
- "version": "0.7.1",
+ "version": "0.7.2",
"description": "Regression testing visual review tool",
"main": "index.js",
"repository": "git://github.com/juliangruber/review",
View
4 script/rasterize.js
@@ -21,7 +21,7 @@ if (cut) page.clipRect = {
height: height
}
-if (cookie) page.addCookie(JSON.parse(cookie))
+if (cookie) phantom.addCookie(JSON.parse(cookie))
// silence phantomjs
page.onConsoleMessage = function () {}
@@ -35,4 +35,4 @@ page.open(url, function (status) {
console.log(page.renderBase64('PNG'))
phantom.exit()
}, timeout)
-})
+})

0 comments on commit fb624ca

Please sign in to comment.