Sha256: d8cb26cf160c6b8fb506c0ab5bc9511f66e83e13d40b7a3a3046edd19fc3af59

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"blacklight/core.js;FI"
pathname;TI"b/Users/cabeer/.gem/ruby/2.2.0/gems/blacklight-5.8.2/app/assets/javascripts/blacklight/core.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+†[¸TI"length;TiI"digest;TI"%8c320e18468d93779cf519596b40303d;FI"source;TI"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();
      }
    }
  }
}();

// turbolinks triggers page:load events on page transition
// If app isn't using turbolinks, this event will never be triggered, no prob. 
$(document).on('page:load', function() {
  Blacklight.activate();  
});

$(document).ready(function() {
  Blacklight.activate();  
});

;TI"required_assets_digest;TI"%6835b8d497fbe3659c854daee3df29f8;FI"
_version;TI"%069e88c06b889877799890854d7f4c40;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.2.0 spec/internal/tmp/cache/assets/development/sprockets/4761605829e0bf25912d89323f36bcf5
blacklight-spotlight-0.2.0 spec/internal/tmp/cache/assets/development/sprockets/8dc1275a17ff8cd14f8dce4dc0f50b07