chore: remove unwanted log

This commit is contained in:
EnixCoda 2019-02-19 16:24:25 +08:00
parent eee0b01341
commit c24824c99b
No known key found for this signature in database
GPG key ID: 6825847C88AA329A

View file

@ -30,11 +30,8 @@ var Pjax = function(options) {
this.parseDOM(document)
on(window, "pushstate", function(st) {
console.log(`push state`)
})
on(window, "pushstate", function(st) {})
on(window, "popstate", function(st) {
console.log(`pop state`)
if (st.state) {
var opt = clone(this.options)
opt.url = st.state.url