Sha256: 0caf5f7c5f91bf9e399cad1c8419485a32fd18a625cd55e951f2ef6ebb8c9876
Contents?: true
Size: 423 Bytes
Versions: 3
Compression:
Stored size: 423 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; // get new viewer instance and pass in element viewer = new window['GeoBlacklight']['Viewer'][viewerName](element); }); new Readmore( '.truncate-abstract', { maxHeight: 60 } ); });
Version data entries
3 entries across 3 versions & 1 rubygems