Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sassdoc-theme-alix

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sassdoc-theme-alix - npm Package Compare versions

Comparing version 0.3.26 to 0.3.27

2

assets/static/js/docs.js

@@ -1,1 +0,1 @@

function getFileName(){var e="https://rawgit.com/ffoodd/a11y.css/master/css/",t="a11y-",n=document.getElementById("language").value||"en",a=document.getElementById("minimum-level").value||"advice",o=".css";return"advice"!==a&&(a="_"+a),e+t+n+a+o}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="(min-width: 800px)";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var e=e||document.getElementById("toc"),t=e.getElementsByTagName("a");for(i=0;i<t.length;i++)document.location.href.indexOf(t[i].href)>=0&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){var e=document.getElementById("bookmarklet--link");e.classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))});
function getFileName(){var e="https://rawgit.com/ffoodd/a11y.css/master/css/",t="a11y-",n=document.getElementById("language").value||"en",a=document.getElementById("minimum-level").value||"advice",o=".css";return a="advice"!==a?"_"+a:"",e+t+n+a+o}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="(min-width: 800px)";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var e=e||document.getElementById("toc"),t=e.getElementsByTagName("a");for(i=0;i<t.length;i++)document.location.href.indexOf(t[i].href)>=0&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){var e=document.getElementById("bookmarklet--link");e.classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))});

@@ -10,2 +10,4 @@ function getFileName () {

level = '_' + level;
} else {
level = '';
}

@@ -12,0 +14,0 @@

@@ -5,3 +5,3 @@ {

"description": "SassDoc theme for a11y.css",
"version": "0.3.26",
"version": "0.3.27",
"keywords": [

@@ -8,0 +8,0 @@ "sassdoc-theme"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc