mirror of https://github.com/vitalif/phantomjs
Fix a wrong module require in imagebin example.
http://code.google.com/p/phantomjs/issues/detail?id=536 http://code.google.com/p/phantomjs/issues/detail?id=2761.5
parent
834a8cf124
commit
2db6ba41bf
|
@ -1,7 +1,7 @@
|
||||||
// Upload an image to imagebin.org
|
// Upload an image to imagebin.org
|
||||||
|
|
||||||
var page = require('webpage').create(),
|
var page = require('webpage').create(),
|
||||||
system = require('webpage'),
|
system = require('system'),
|
||||||
fname;
|
fname;
|
||||||
|
|
||||||
if (system.args.length !== 2) {
|
if (system.args.length !== 2) {
|
||||||
|
|
Loading…
Reference in New Issue