Sha256: 957cb785d479b378fdd04952c94e5f308ec3b4b558c75f5048320ffc9a051304

Contents?: true

Size: 219 Bytes

Versions: 27

Compression:

Stored size: 219 Bytes

Contents

import Crop from 'spotlight/admin/crop';

export default class {
  connect() {
    $('[data-behavior="iiif-cropper"]').each(function() {
      var cropElement = $(this)
      new Crop(cropElement).render()
    })
  }
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
blacklight-spotlight-4.7.1 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.7.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.6.1 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.6.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.5.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.4.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.6 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.5 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.4 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.3 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.2 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.1 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.3.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.2.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.1.2 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.1.1 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.1.0 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.0.3 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.0.2 app/javascript/spotlight/admin/croppable.js
blacklight-spotlight-4.0.1 app/javascript/spotlight/admin/croppable.js