From c24824c99b84e7390a70c6f2c01b02daba1d8e1c Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Tue, 19 Feb 2019 16:24:25 +0800 Subject: [PATCH] chore: remove unwanted log --- packages/pjax/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/pjax/index.js b/packages/pjax/index.js index 64b9aea..2f2763a 100644 --- a/packages/pjax/index.js +++ b/packages/pjax/index.js @@ -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