Sha256: 8fee183a94802d31643a617c7fca1043ac4d5d293a9a66924cfb59cd4614adb7
Contents?: true
Size: 589 Bytes
Versions: 30
Compression:
Stored size: 589 Bytes
Contents
Spotlight = function() { var buffer = new Array; return { onLoad: function(func) { buffer.push(func); }, activate: function() { for(var i = 0; i < buffer.length; i++) { buffer[i].call(); } } } }(); if (typeof Turbolinks !== "undefined") { $(document).on('page:load', function() { Spotlight.activate(); }); } $(document).ready(function() { Spotlight.activate(); }); Spotlight.onLoad(function(){ SpotlightNestable.init(); $.each($('.social-share-button a'), function() { $(this).append($(this).attr('title')); }); });
Version data entries
30 entries across 30 versions & 1 rubygems