Sha256: 921fd5a4b4343647a8dee840a5853e05a4884c04011a3f9312fa7ff2e2bce2d1

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

const usePhotoSwipe = (controller) => {
  Object.assign(controller, {
    loadPhotoSwipe () {
      return import(/* webpackChunkName: "photoswipe" */ 'photoswipe')
        .then(module => module.default)
    }
  })
}

export default usePhotoSwipe

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.10.1 frontend/js/mixins/photoswipe.js
trestle-0.10.0 frontend/js/mixins/photoswipe.js
trestle-0.10.0.pre2 frontend/js/mixins/photoswipe.js
trestle-0.10.0.pre frontend/js/mixins/photoswipe.js