tourist 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rasterize.js +1 -1
- metadata +1 -1
data/lib/rasterize.js
CHANGED
@@ -7,7 +7,7 @@ if (phantom.args.length < 2 || phantom.args.length > 5) {
|
|
7
7
|
} else {
|
8
8
|
address = phantom.args[0];
|
9
9
|
output = phantom.args[1];
|
10
|
-
page.viewportSize = { width: phantom.args[2], height:
|
10
|
+
page.viewportSize = { width: phantom.args[2], height: phantom.args[3]};
|
11
11
|
page.open(address, function (status) {
|
12
12
|
if (status !== 'success') {
|
13
13
|
console.log('Unable to load the address!');
|