Actually add parameter to WebPage constructor

1.3
execjosh 2011-08-28 22:29:31 +09:00
parent 102b421617
commit 74db4807d5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {};