From 2db6ba41bf32944a862cd33f3c992198b56e0e52 Mon Sep 17 00:00:00 2001 From: Ariya Hidayat Date: Thu, 17 May 2012 23:41:33 -0700 Subject: [PATCH] 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=276 --- examples/imagebin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/imagebin.js b/examples/imagebin.js index e8d9a682..4e7f9a4c 100644 --- a/examples/imagebin.js +++ b/examples/imagebin.js @@ -1,7 +1,7 @@ // Upload an image to imagebin.org var page = require('webpage').create(), - system = require('webpage'), + system = require('system'), fname; if (system.args.length !== 2) {