From 6ca3d081dab767eb48130fac124670c2c4370c7e Mon Sep 17 00:00:00 2001 From: Jeff Tian Date: Fri, 18 Oct 2019 11:20:25 +0800 Subject: [PATCH 1/2] fix: js warnings --- records_restricted.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/records_restricted.js b/records_restricted.js index 77cbe491..13102109 100644 --- a/records_restricted.js +++ b/records_restricted.js @@ -1,22 +1,22 @@ /* **** RESTRICTED SUBDOMAINS * ************************** - * + * * for the moment the following subdomains are restricted * the list is not necessarily complete and could be extend at some point - * - * + * + * **** EXPLANATION * **************** - * + * * Some of these subdomains are reserved for JS.ORG itself (e.g.: mail.js.org, admin.js.org). * Others are so generic that they should be used for community driven pages only (e.g.: blog.js.org, docs.js.org). * If you are willing to use one of the restricted subdomains in a way the community can benefit and participate, you can always file an issue and start a discussion. - * + * */ var cnames_restricted = [ - "(1/2/3/...)" + "(1/2/3/...)", "about", "account(s)", "ad(s)", @@ -194,7 +194,7 @@ var cnames_restricted = [ "serv", "server(s)", "service(s)", - "shop(s)" + "shop(s)", "site(s)", "smtp", "socket(s)", From da054aa01fc3f5a2e4d337bdcf35bfc7da3e4763 Mon Sep 17 00:00:00 2001 From: Jeff Tian Date: Sat, 19 Oct 2019 10:43:18 +0800 Subject: [PATCH 2/2] fix: redundant spaces --- cnames_active.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnames_active.js b/cnames_active.js index 1f0ee16b..b201514e 100755 --- a/cnames_active.js +++ b/cnames_active.js @@ -1497,7 +1497,7 @@ var cnames_active = { "refujs": "refujs.github.io", // noCF? (don´t add this in a new PR) "regexly": "neeksandhu.github.io/regexly", "reghack": "hacker719.github.io/RegHack", - "regraph": "izhaki.github.io/regraph", + "regraph": "izhaki.github.io/regraph", "rekit": "supnate.github.io/rekit", // noCF "relate": "jakelazaroff.github.io/relate", // noCF? (don´t add this in a new PR) "relaunch": "pd4d10.github.io/relaunch",