mirror of
https://github.com/ariya/phantomjs.git
synced 2024-09-11 04:46:09 +03:00
#13976 - 'global variables are forbidden in strict mode' issue fixed
This commit is contained in:
parent
7d7e5f345b
commit
0ba7bc8ef6
@ -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]');
|
||||
|
Loading…
Reference in New Issue
Block a user