Sha256: 73ab5201e32b1acff4fcc804587baa37586df7fab984bb95d8ea83f3ed6979a7
Contents?: true
Size: 512 Bytes
Versions: 19
Compression:
Stored size: 512 Bytes
Contents
Spotlight.onLoad(function() { $('[data-behavior="iiif-cropper"]').croppable(); }); /* IIIF image cropping plugin Add iiif-crop data-attributes to file input (with data-behavior='iiif-cropper') to instantiate. */ (function($) { $.fn.croppable = function() { var croppables = this; var Crop = require('spotlight/admin/crop'); $(croppables).each(function() { var cropElement = $(this); var c = new Crop(cropElement); c.render(); }); return this; }; })(jQuery);
Version data entries
19 entries across 19 versions & 1 rubygems