1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-08-15 15:50:34 +03:00

#13976 - 'global variables are forbidden in strict mode' issue fixed

This commit is contained in:
Osman Yuksel 2016-02-04 23:47:23 +02:00 committed by vitallium
parent 7d7e5f345b
commit 0ba7bc8ef6

View File

@ -1,7 +1,7 @@
"use strict";
var page = require('webpage').create(),
system = require('system'),
address, output, size;
address, output, size, pageWidth, pageHeight;
if (system.args.length < 3 || system.args.length > 5) {
console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]');