PageSourceSearch

https://earth-history.com/libraries/gantry/js/gantry-buildspans.js

js earth-history.com collected 2026-10-02 12:22:07 UTC 732 bytes, 8 lines download raw bytes

1/**
2 * @version		3.2.12 October 30, 2011
3 * @author		RocketTheme http://www.rockettheme.com
4 * @copyright 	Copyright (C) 2007 - 2011 RocketTheme, LLC
5 * @license		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
6 */
7
8var GantryBuildSpans=function(c,b,a){(c.length).times(function(d){var h="."+c[d];var g=function(f){f.setStyle("visibility","visible");var e=f.get("text");var k=e.split(" ");first=k[0];rest=k.slice(1).join(" ");html=f.innerHTML;if(rest.length>0){var j=f.clone().set("text"," "+rest),i=new Element("span").set("text",first);i.inject(j,"top");j.replaces(f);}};$$(h).each(function(e){b.each(function(f){e.getElements(f).each(function(i){var j=i.getFirst();if(j&&j.get("tag")=="a"){g(j);}else{g(i);}});});});});};

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.