From 85d0c12ddb80fbdc6eece046ee560fd88ed12c13 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Feb 2017 02:43:42 +0800 Subject: [PATCH 1/5] Update CNAME --- CNAME | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CNAME b/CNAME index 41a31a738..c3226b2f3 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -es6.ruanyifeng.com +es6-tutorial. xgqfrms.xyz From d6d93efe9e8b1c526d7becb1238fa4525f5bfa42 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Feb 2017 02:44:07 +0800 Subject: [PATCH 2/5] es6-tutorial.xgqfrms.xyz --- CNAME | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CNAME b/CNAME index c3226b2f3..f8828898f 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -es6-tutorial. xgqfrms.xyz +es6-tutorial.xgqfrms.xyz From 406cc6bf39524fc835fb5c06b71e9302f1ef5af5 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Feb 2017 03:00:16 +0800 Subject: [PATCH 3/5] https://es6-tutorial.xgqfrms.xyz p345: window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash ? location.hash.replace("#", "") : 'README'); --- js/ditto.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index 7247ee301..de148d429 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -42,7 +42,9 @@ var getHash = function (hash) { } }; -var disqusCode = '

留言

'; +// var disqusCode = '

留言

'; +var disqusCode = '???'; + var menu = new Array(); function initialize() { @@ -340,7 +342,7 @@ function router() { window.disqus_shortname = 'es6'; window.disqus_identifier = (location.hash ? location.hash.replace("#", "") : 'READEME'); window.disqus_title = $(ditto.content_id + " h1").text(); - window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash ? location.hash.replace("#", "") : 'README'); + window.disqus_url = 'https://es6-tutorial.xgqfrms.xyz/' + (location.hash ? location.hash.replace("#", "") : 'README'); // http://docs.disqus.com/developers/universal/ (function() { From e6dddaaa9556e5adfe52cc6fdab50be2b6e3ee5b Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Feb 2017 03:14:26 +0800 Subject: [PATCH 4/5] discus ??? --- js/ditto.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index de148d429..a7bc460a0 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -42,8 +42,7 @@ var getHash = function (hash) { } }; -// var disqusCode = '

留言

'; -var disqusCode = '???'; +var disqusCode = '

留言

'; var menu = new Array(); From b562d47b78b57ea16ab094102574c1975096e417 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 8 Feb 2017 03:24:06 +0800 Subject: [PATCH 5/5] Update ditto.js --- js/ditto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ditto.js b/js/ditto.js index a7bc460a0..da9fe53d5 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -116,7 +116,7 @@ function searchbar_listener(event) { // event.preventDefault(); var q = $('input[name=search]').val(); if (q !== '') { - var url = 'https://github.com/ruanyf/es6tutorial/search?utf8=✓&q=' + encodeURIComponent(q); + var url = 'https://github.com/ufo-github/es6tutorial/search?utf8=✓&q=' + encodeURIComponent(q); window.open(url, '_blank'); win.focus(); }