Sha256: 9137b33ceb0e8b966c5942abeff0ff11670e36afe176b73480fc24e7f214632d

Contents?: true

Size: 1.85 KB

Versions: 42

Compression:

Stored size: 1.85 KB

Contents

!function(a,b){"function"==typeof define&&define.amd?define([],function(){return a.svg4everybody=b()}):"object"==typeof module&&module.exports?module.exports=b():a.svg4everybody=b()}(this,function(){function a(a,b,c){if(c){var d=document.createDocumentFragment(),e=!b.hasAttribute("viewBox")&&c.getAttribute("viewBox");e&&b.setAttribute("viewBox",e);for(var f=c.cloneNode(!0);f.childNodes.length;)d.appendChild(f.firstChild);a.appendChild(d)}}function b(b){b.onreadystatechange=function(){if(4===b.readyState){var c=b._cachedDocument;c||(c=b._cachedDocument=document.implementation.createHTMLDocument(""),c.body.innerHTML=b.responseText,b._cachedTarget={}),b._embeds.splice(0).map(function(d){var e=b._cachedTarget[d.id];e||(e=b._cachedTarget[d.id]=c.getElementById(d.id)),a(d.parent,d.svg,e)})}},b.onreadystatechange()}function c(c){function e(){for(var c=0;c<o.length;){var h=o[c],i=h.parentNode,j=d(i),k=h.getAttribute("xlink:href")||h.getAttribute("href");if(!k&&g.attributeName&&(k=h.getAttribute(g.attributeName)),j&&k){if(f)if(!g.validate||g.validate(k,j,h)){i.removeChild(h);var l=k.split("#"),q=l.shift(),r=l.join("#");if(q.length){var s=m[q];s||(s=m[q]=new XMLHttpRequest,s.open("GET",q),s.send(),s._embeds=[]),s._embeds.push({parent:i,svg:j,id:r}),b(s)}else a(i,j,document.getElementById(r))}else++c,++p}else++c}(!o.length||o.length-p>0)&&n(e,67)}var f,g=Object(c),h=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,i=/\bAppleWebKit\/(\d+)\b/,j=/\bEdge\/12\.(\d+)\b/,k=/\bEdge\/.(\d+)\b/,l=window.top!==window.self;f="polyfill"in g?g.polyfill:h.test(navigator.userAgent)||(navigator.userAgent.match(j)||[])[1]<10547||(navigator.userAgent.match(i)||[])[1]<537||k.test(navigator.userAgent)&&l;var m={},n=window.requestAnimationFrame||setTimeout,o=document.getElementsByTagName("use"),p=0;f&&e()}function d(a){for(var b=a;"svg"!==b.nodeName.toLowerCase()&&(b=b.parentNode););return b}return c});

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
decidim-core-0.24.3 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.6 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.24.2 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.5 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.24.1 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.24.0 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.24.0.rc2 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.4 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.24.0.rc1 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.3 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.2 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.1 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.1.rc1 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.23.0 vendor/assets/javascripts/svg4everybody.min.js
decidim-core-0.22.0 vendor/assets/javascripts/svg4everybody.min.js
wai-website-theme-1.9.2 assets/scripts/svg4everybody.js
wai-website-theme-1.9.pre assets/scripts/svg4everybody.js
wai-website-theme-1.7 assets/scripts/svg4everybody.js
wai-website-theme-1.6 assets/scripts/svg4everybody.js
wai-website-theme-1.5.6 assets/scripts/svg4everybody.js