Sha256: 6d0ec1f8aac8eefb55dd68ec2f82560b62a0087aed59d60bc7c117e0947cf8b3
Contents?: true
Size: 433 Bytes
Versions: 19
Compression:
Stored size: 433 Bytes
Contents
Blacklight = 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() { Blacklight.activate(); }); } $(document).ready(function() { Blacklight.activate(); });
Version data entries
19 entries across 19 versions & 1 rubygems