From 949d1be1a07059a808efe021889922434d23447a Mon Sep 17 00:00:00 2001 From: Isaac Gierard Date: Fri, 16 Jan 2015 15:46:31 -0800 Subject: [PATCH] fixed calling parseOptions with arrayed arguments --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index db41466..65e8326 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ var Pjax = function(options) { this.firstrun = true var parseOptions = require("./lib/proto/parse-options.js"); - parseOptions.apply(this,options) + parseOptions.apply(this,[options]) this.log("Pjax options", this.options) this.maxUid = this.lastUid = newUid()