diff --git a/js/core/jquery-enhanced.js b/js/core/jquery-enhanced.js index 53ca39dab2..7af5fe0cd7 100644 --- a/js/core/jquery-enhanced.js +++ b/js/core/jquery-enhanced.js @@ -61,7 +61,7 @@ define(["jquery","core/utils", "core/pubsubhub"], function($, utils, pubsubhub) // allow @title for backward compatibility titleString = this.attr("title"); theAttr = "title"; - pubsubhub.pub("warn", "Using deprecated attribute @title for '" + this.text() + "': see http://w3.org/respec/guide.html#definitions-and-linking"); + pubsubhub.pub("warn", "Using deprecated attribute @title for '" + this.text() + "': see https://w3.org/respec/guide.html#definitions-and-linking"); } else if (this.contents().length == 1 && this.children("abbr, acronym").length == 1 && this.find(":first-child").attr("title")) { titleString = this.find(":first-child").attr("title"); } else { diff --git a/js/shortcut.js b/js/shortcut.js index 5d5dc9fe33..c282d7422e 100644 --- a/js/shortcut.js +++ b/js/shortcut.js @@ -1,5 +1,5 @@ /** - * http://www.openjs.com/scripts/events/keyboard_shortcuts/ + * www.openjs.com/scripts/events/keyboard_shortcuts/ * Version : 2.01.B * By Binny V A * License : BSD diff --git a/js/ui/about-respec.js b/js/ui/about-respec.js index b559e4505c..bb6c81a3a1 100644 --- a/js/ui/about-respec.js +++ b/js/ui/about-respec.js @@ -8,7 +8,7 @@ define( return { show: function (ui) { var $halp = $("

ReSpec is a document production toolchain, with a notable focus on W3C specifications.

"); - $("

You can find more information in the documentation.

").appendTo($halp); + $("

You can find more information in the documentation.

").appendTo($halp); $("

Found a bug in ReSpec? File it!.

").appendTo($halp); ui.freshModal("About ReSpec", $halp); } diff --git a/js/ui/save-html.js b/js/ui/save-html.js index 102dbbbc90..888ce08a20 100644 --- a/js/ui/save-html.js +++ b/js/ui/save-html.js @@ -207,9 +207,9 @@ define( else if (mode !== 5) { if (conf.doRDFa) { // use the standard RDFa 1.1 doctype - str += " PUBLIC '-//W3C//DTD XHTML+RDFa 1.1//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd'"; + str += " PUBLIC '-//W3C//DTD XHTML+RDFa 1.1//EN' 'https://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd'"; } else { - str += " PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'"; + str += " PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'"; } } str += ">\n (e.g., "Bug Tracker"). Required. // - value: The value that will appear in the
(e.g., "GitHub"). Optional. -// - href: a URL for the value (e.g., "http://foo.com/issues"). Optional. +// - href: a URL for the value (e.g., "https://foo.com/issues"). Optional. // - class: a string representing CSS classes. Optional. // - license: can be one of the following // - "w3c", currently the default (restrictive) license @@ -90,7 +90,7 @@ // intended to be pushed to the WHATWG. // - "w3c-software", a permissive and attributions license (but GPL-compatible). // - "w3c-software-doc", the W3C Software and Document License -// http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document +// https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document "use strict"; define( @@ -281,22 +281,22 @@ define( cc0: { name: "Creative Commons 0 Public Domain Dedication", short: "CC0", - url: "http://creativecommons.org/publicdomain/zero/1.0/", + url: "https://creativecommons.org/publicdomain/zero/1.0/", }, "w3c-software": { name: "W3C Software Notice and License", short: "W3C Software", - url: "http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231", + url: "https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231", }, "w3c-software-doc": { name: "W3C Software and Document Notice and License", short: "W3C Software and Document", - url: "http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", + url: "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", }, "cc-by": { name: "Creative Commons Attribution 4.0 International Public License", short: "CC-BY", - url: "http://creativecommons.org/licenses/by/4.0/legalcode", + url: "https://creativecommons.org/licenses/by/4.0/legalcode", } } , run: function (conf, doc, cb) { @@ -342,14 +342,14 @@ define( var publishSpace = "TR"; if (conf.specStatus === "Member-SUBM") publishSpace = "Submission"; else if (conf.specStatus === "Team-SUBM") publishSpace = "TeamSubmission"; - if (conf.isRegular) conf.thisVersion = "http://www.w3.org/" + publishSpace + "/" + + if (conf.isRegular) conf.thisVersion = "https://www.w3.org/" + publishSpace + "/" + conf.publishDate.getFullYear() + "/" + conf.maturity + "-" + conf.shortName + "-" + utils.concatDate(conf.publishDate) + "/"; if (conf.specStatus === "ED") conf.thisVersion = conf.edDraftURI; - if (conf.isRegular) conf.latestVersion = "http://www.w3.org/" + publishSpace + "/" + conf.shortName + "/"; + if (conf.isRegular) conf.latestVersion = "https://www.w3.org/" + publishSpace + "/" + conf.shortName + "/"; if (conf.isTagFinding) { - conf.latestVersion = "http://www.w3.org/2001/tag/doc/" + conf.shortName; + conf.latestVersion = "https://www.w3.org/2001/tag/doc/" + conf.shortName; conf.thisVersion = conf.latestVersion + "-" + utils.concatDate(conf.publishDate, "-"); } if (conf.previousPublishDate) { @@ -369,7 +369,7 @@ define( conf.prevVersion = ""; } else { - conf.prevVersion = "http://www.w3.org/TR/" + conf.previousPublishDate.getFullYear() + "/" + pmat + "-" + + conf.prevVersion = "https://www.w3.org/TR/" + conf.previousPublishDate.getFullYear() + "/" + pmat + "-" + conf.shortName + "-" + utils.concatDate(conf.previousPublishDate) + "/"; } } @@ -378,7 +378,7 @@ define( pubsubhub.pub("error", "Document on track but no previous version: Add previousMaturity previousPublishDate to ReSpec's config."); if (!conf.prevVersion) conf.prevVersion = ""; } - if (conf.prevRecShortname && !conf.prevRecURI) conf.prevRecURI = "http://www.w3.org/TR/" + conf.prevRecShortname; + if (conf.prevRecShortname && !conf.prevRecURI) conf.prevRecURI = "https://www.w3.org/TR/" + conf.prevRecShortname; if (!conf.editors || conf.editors.length === 0) pubsubhub.pub("error", "At least one editor is required"); var peopCheck = function (it) { if (!it.name) pubsubhub.pub("error", "All authors and editors must have a name."); diff --git a/js/w3c/l10n.js b/js/w3c/l10n.js index 60f3cce08f..6c3ab23b72 100644 --- a/js/w3c/l10n.js +++ b/js/w3c/l10n.js @@ -17,7 +17,7 @@ define( , authors: "Authors:" , abstract: "Abstract" , sotd: "Status of This Document" - , status_at_publication: "This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/." + , status_at_publication: "This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/." , toc: "Table of Contents" , note: "Note" , fig: "Fig. " @@ -37,7 +37,7 @@ define( , authors: "저자:" , abstract: "요약" , sotd: "현재 문서의 상태" - , status_at_publication: "This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/." + , status_at_publication: "This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/." , toc: "Table of Contents" , note: "Note" , fig: "그림 " @@ -57,7 +57,7 @@ define( , authors: "Authors:" , abstract: "摘要" , sotd: "关于本文档" - , status_at_publication: "本章节描述了本文档的发布状态。其它更新版本可能会覆盖本文档。W3C的文档列 表和最新版本可通过W3C技术报告索引访问。" + , status_at_publication: "本章节描述了本文档的发布状态。其它更新版本可能会覆盖本文档。W3C的文档列 表和最新版本可通过W3C技术报告索引访问。" , toc: "内容大纲" , note: "注" , fig: "圖" diff --git a/js/w3c/templates/cgbg-headers.html b/js/w3c/templates/cgbg-headers.html index 7a67cf4f50..de599c71d0 100644 --- a/js/w3c/templates/cgbg-headers.html +++ b/js/w3c/templates/cgbg-headers.html @@ -1,6 +1,6 @@

- +

{{title}}

{{#if subtitle}} @@ -96,16 +96,16 @@

{{longStatus}}