Sha256: 6137b359113340a20e8a623cb5a008d939fa0b5490960cbb13eebf95d22b0b1a

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

//= require openseadragon/jquery

(function($) {
  function initOpenSeadragon() {
    $('picture[data-openseadragon]').openseadragon();
  }

  $(document).on('page:load', initOpenSeadragon);
  $(document).ready(initOpenSeadragon);
})(jQuery);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openseadragon-0.3.0 app/assets/javascripts/openseadragon/rails.js
openseadragon-0.2.1 app/assets/javascripts/openseadragon/rails.js
openseadragon-0.2.0 app/assets/javascripts/openseadragon/rails.js