spec-up-t 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -143,7 +143,7 @@ function fetchCommitHashes() {
|
|
|
143
143
|
diff.target = '_blank';
|
|
144
144
|
diff.rel = 'noopener noreferrer';
|
|
145
145
|
diff.classList.add('diff', 'xref-info-links', 'btn');
|
|
146
|
-
diff.innerHTML = '<svg icon><use xlink:href="#svg-github"></use></svg> Xref < > Now';
|
|
146
|
+
diff.innerHTML = '<svg icon><use xlink:href="#svg-github"></use></svg> Xref < > <svg icon><use xlink:href="#svg-github"></use></svg> Now';
|
|
147
147
|
diff.title = 'A Diff between the current commit hash of the definition and the commit hash referenced when the link was created.';
|
|
148
148
|
element.parentNode.insertBefore(diff, element.nextSibling);
|
|
149
149
|
|
|
@@ -170,7 +170,7 @@ function fetchCommitHashes() {
|
|
|
170
170
|
// Diff of the latest version and the referenced version in a modal
|
|
171
171
|
const showDiffModal = document.createElement('button');
|
|
172
172
|
showDiffModal.classList.add('show-diff-modal', 'xref-info-links', 'btn');
|
|
173
|
-
showDiffModal.innerHTML = 'Xref < > Now';
|
|
173
|
+
showDiffModal.innerHTML = 'Xref < > <svg icon><use xlink:href="#svg-github"></use></svg> Now';
|
|
174
174
|
showDiffModal.title = 'Show diff between the latest version and the referenced version';
|
|
175
175
|
latestVersion.parentNode.insertBefore(showDiffModal, element.nextSibling);
|
|
176
176
|
showDiffModal.addEventListener('click', function (event) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-up-t",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Technical specification drafting tool that generates rich specification documents from markdown. Forked from https://github.com/decentralized-identity/spec-up by Daniel Buchner (https://github.com/csuwildcat)",
|
|
5
5
|
"main": "./index",
|
|
6
6
|
"repository": {
|