1/* 2* Symbolset 3* www.symbolset.com 4* Copyright © 2013 Oak Studios LLC 5* 6* Upload this file to your web server 7* and place this before the closing </body> tag. 8* <script src="webfonts/ss-social.js"></script> 9*/ 10 11if (/(MSIE [7-9]\.|Opera.*Version\/(10\.[5-9]|(11|12)\.)|Chrome\/([1-9]|10)\.|Version\/[2-4][\.0-9]+ Safari\/|Version\/(4\.0\.[4-9]|4\.[1-9]|5\.0)[\.0-9]+? Mobile\/.*Safari\/|Android ([1-2]|4\.[2-9].*Version\/4)\.|BlackBerry.*WebKit)/.test(navigator.userAgent) && !/(IEMobile)/.test(navigator.userAgent)) { 12 13 if (/Android 4\.[2-9].*Version\/4/.test(navigator.userAgent)) { 14 var ss_android = document.createElement('style'); 15 ss_android.innerHTML = '.ss-icon,[class^="ss-"],[class*=" ss-"],[class^="ss-"]:before,[class*=" ss-"]:before,[class^="ss-"].right:after[class*=" ss-"].right:after{text-rendering:auto!important}'; 16 document.body.appendChild(ss_android); 17 } 18 19 var ss_set={'five hundred pixels':'\uF642','fivehundredpixels':'\uF642','five hundred px':'\uF642','github octocat':'\uF671','stack overflow':'\uF672','stackoverflow':'\uF672','fivehundredpx':'\uF642','githuboctocat':'\uF671','kickstarter':'\uF681','app dot net':'\uF614','google plus':'\uF613','googleplus':'\uF613','foursquare':'\uF690','soundcloud':'\uF6B3','letterboxd':'\uF632','blackberry':'\uF6F4','delicious':'\uF655','posterous':'\uF623','pinterest':'\uF650','microsoft':'\uF6F1','thumbs up':'\uD83D\uDC4D','telephone':'\uD83D\uDCDE','appdotnet':'\uF614','wordpress':'\uF621','instagram':'\uF641','facebook':'\uF610','thumbsup':'\uD83D\uDC4D','readmill':'\uF652','pinboard':'\uF654','dribbble':'\uF660','envelope':'\u2709','google +':'\uF613','linkedin':'\uF612','twitter':'\uF611','approve':'\uD83D\uDC4D','behance':'\uF661','youtube':'\uF630','blogger':'\uF622','dropbox':'\uF653','octocat':'\uF671','android':'\uF6F3','google+':'\uF613','last fm':'\uF6B2','app net':'\uF614','windows':'\uF6F2','spotify':'\uF6B1','flickr':'\uF640','lastfm':'\uF6B2','zerply':'\uF615','appnet':'\uF614','paypal':'\uF680','tumblr':'\uF620','github':'\uF670','svpply':'\uF651','reddit':'\uF616','share':'\uF601','phone':'\uD83D\uDCDE','apple':'\uF8FF','vimeo':'\uF631','email':'\u2709','steam':'\uF617','quora':'\uF624','500px':'\uF642','skype':'\uF6A0','like':'\uD83D\uDC4D','mail':'\u2709','call':'\uD83D\uDCDE','link':'\uD83D\uDD17','rdio':'\uF6B0','yelp':'\uF691','etsy':'\uF682','vine':'\uF633','rss':'\uE310'}; 20 21 22 if (typeof ss_icons !== 'object' || typeof ss_icons !== 'object') { 23 var ss_icons = ss_set; 24 var ss_keywords = []; 25 for (var i in ss_set) { ss_keywords.push(i); }; 26 } else { 27 for (var i in ss_set) { ss_icons[i] = ss_set[i]; ss_keywords.push(i); } 28 }; 29 30 if (typeof ss_legacy !== 'function') { 31 32 /* domready.js */ 33 !function(a,b){typeof module!="undefined"?module.exports=b():typeof define=="function"&&typeof define.amd=="object"?define(b):this[a]=b()}("ss_ready",function(a){function m(a){l=1;while(a=b.shift())a()}var b=[],c,d=!1,e=document,f=e.documentElement,g=f.doScroll,h="DOMContentLoaded",i="addEventListener",j="onreadystatechange",k="readyState",l=/^loade|c/.test(e[k]);return e[i]&&e[i](h,c=function(){e.removeEventListener(h,c,d),m()},d),g&&e.attachEvent(j,c=function(){/^c/.test(e[k])&&(e.detachEvent(j,c),m())}),a=g?function(c){self!=top?l?c():b.push(c):function(){try{f.doScroll("left")}catch(b){return setTimeout(function(){a(c)},50)}c()}()}:function(a){l?a():b.push(a)}}) 34 35 var ss_legacy = function(node) { 36 37 if (!node instanceof Object) return false; 38 39 if (node.length) { 40 for (var i=0; i<node.length; i++) { 41 ss_legacy(node[i]); 42 } 43 return; 44 }; 45 46 if (node.value) { 47 node.value = ss_liga(node.value); 48 } else if (node.nodeValue) { 49 node.nodeValue = ss_liga(node.nodeValue); 50 } else if (node.innerHTML) { 51 node.innerHTML = ss_liga(node.innerHTML); 52 } 53 54 }; 55 56 var ss_getElementsByClassName = function(node, classname) { 57 if (document.querySelectorAll) { 58 return document.querySelectorAll('.'+classname); 59 } 60 var a = []; 61 var re = new RegExp('(^| )'+classname+'( |$)'); 62 var els = node.getElementsByTagName("*"); 63 for(var i=0,j=els.length; i<j; i++) 64 if(re.test(els[i].className))a.push(els[i]); 65 return a; 66 }; 67 68 var ss_liga = function(that) { 69 var re = new RegExp(ss_keywords.join('|').replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&"),"gi"); 70 return that.replace(re, function(v) { 71 return ss_icons[v.toLowerCase()]; 72 }); 73 }; 74 75 ss_ready(function() { 76 if (document.getElementsByClassName) { 77 ss_legacy(document.getElementsByClassName('ss-icon')); 78 } else {
79 ss_legacy(ss_getElementsByClassName(document.body, 'ss-icon')); 80 } 81 }); 82 83 } 84 85};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.