fixed calling parseOptions with arrayed arguments
This commit is contained in:
1 parent
a119033870
commit
949d1be1a0
1 file changed
+1
-1
@@ -9,7 +9,7 @@ var Pjax = function(options) {
|
|||||||
this.firstrun = true
|
this.firstrun = true
|
||||||
|
|
||||||
var parseOptions = require("./lib/proto/parse-options.js");
|
var parseOptions = require("./lib/proto/parse-options.js");
|
||||||
parseOptions.apply(this,options)
|
parseOptions.apply(this,[options])
|
||||||
this.log("Pjax options", this.options)
|
this.log("Pjax options", this.options)
|
||||||
|
|
||||||
this.maxUid = this.lastUid = newUid()
|
this.maxUid = this.lastUid = newUid()
|
||||||
|
|||||||
Reference in new issue
Block a user