fixed calling parseOptions with arrayed arguments

This commit is contained in:
Isaac Gierard
2015-01-16 15:46:31 -08:00
parent a119033870
commit 949d1be1a0

View File

@@ -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()