PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / 1.6.4
SiteOrigin CSS v1.6.4
1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0
so-css / js / specificity.min.js
so-css / js Last commit date
URI.js 9 years ago URI.min.js 6 years ago css.js 1 year ago css.min.js 1 year ago csslint.js 9 years ago csslint.min.js 1 year ago editor.js 2 years ago editor.min.js 1 year ago inspector.js 1 year ago inspector.min.js 1 year ago jquery.sizes.js 11 years ago jquery.sizes.min.js 6 years ago specificity.js 11 years ago specificity.min.js 6 years ago
specificity.min.js
1 lines
1 var SPECIFICITY=function(){var t,e;return t=function(t){var r,n,i,c,a=[];for(i=0,c=(r=t.split(",")).length;i<c;i+=1)(n=r[i]).length>0&&a.push(e(n));return a},e=function(t){var e,r,n=t,i={a:0,b:0,c:0},c=[];return e=function(t,e){var r,a,g,l,o,s;if(t.test(n))for(a=0,g=(r=n.match(t)).length;a<g;a+=1)i[e]+=1,l=r[a],o=n.indexOf(l),s=l.length,c.push({selector:l,type:e,index:o,length:s}),n=n.replace(l,Array(s+1).join(" "))},(r=/:not\(([^\)]*)\)/g).test(n)&&(n=n.replace(r," $1 ")),function(){var t,e,r,i,c=/{[^]*/gm;if(c.test(n))for(e=0,r=(t=n.match(c)).length;e<r;e+=1)i=t[e],n=n.replace(i,Array(i.length+1).join(" "))}(),e(/(\[[^\]]+\])/g,"b"),e(/(#[^\s\+>~\.\[:]+)/g,"a"),e(/(\.[^\s\+>~\.\[:]+)/g,"b"),e(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),e(/(:[\w-]+\([^\)]*\))/gi,"b"),e(/(:[^\s\+>~\.\[:]+)/g,"b"),n=(n=n.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),e(/([^\s\+>~\.\[:]+)/g,"c"),c.sort((function(t,e){return t.index-e.index})),{selector:t,specificity:"0,"+i.a.toString()+","+i.b.toString()+","+i.c.toString(),parts:c}},{calculate:t}}();