Sha256: 19c1291779ff3086b4a761e86af306cee9bce2621b449fb0b6af8f8f8e7774bf
Contents?: true
Size: 504 Bytes
Versions: 25
Compression:
Stored size: 504 Bytes
Contents
Blacklight.onLoad(function() { $('[data-map="item"]').each(function(i, element) { // get viewer module from protocol value and capitalize to match class name var viewerName = $(element).data().protocol, viewer; viewerName = viewerName.charAt(0).toUpperCase() + viewerName.substring(1); // get new viewer instance and pass in element viewer = new window['GeoBlacklight']['Viewer'][viewerName](element); }); $('.truncate-abstract').readmore({ maxHeight: 60 }); });
Version data entries
25 entries across 25 versions & 1 rubygems