Skip to content

Commit

Permalink
Upgrading to phantomjs 2
Browse files Browse the repository at this point in the history
  • Loading branch information
timkendrick committed Jan 26, 2016
1 parent 83f4e02 commit ecc3917
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions demo/webfonts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var webshot = require('../lib/webshot');

webshot('https://www.google.com/fonts/specimen/Open+Sans', './webfonts.png', function(err) {
if (err) return console.log(err);
console.log('OK');
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tmp": "~0.0.25"
},
"optionalDependencies": {
"phantomjs": "~1.9.7-1"
"phantomjs": "^2.1.2"
},
"devDependencies": {
"imagemagick": "git://github.com/rsms/node-imagemagick.git",
Expand Down

0 comments on commit ecc3917

Please sign in to comment.