From 74db4807d53c06c1d967f90c155faa600e1d0d0e Mon Sep 17 00:00:00 2001 From: execjosh Date: Sun, 28 Aug 2011 22:29:31 +0900 Subject: [PATCH] Actually add parameter to WebPage constructor --- src/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap.js b/src/bootstrap.js index b4f5dc99..b00bea6e 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -3,7 +3,7 @@ // This allows creating a new web page using the construct "new WebPage", // which feels more natural than "phantom.createWebPage()". -window.WebPage = function () { +window.WebPage = function (opts) { var page = phantom.createWebPage(), handlers = {};