| 1 |
import {Core} from "../Core"; |
| 2 |
import {PhotonicImageLightbox} from "../Lightboxes/ImageLightbox"; |
| 3 |
import * as Listeners from "../Listeners"; |
| 4 |
import * as Layout from "../Layouts/Layout"; |
| 5 |
|
| 6 |
jQuery(document).ready(function($) { |
| 7 |
const lightbox = new PhotonicImageLightbox($); |
| 8 |
Core.setLightbox(lightbox); |
| 9 |
lightbox.initialize('.photonic-standard-layout,.photonic-random-layout,.photonic-masonry-layout,.photonic-mosaic-layout'); |
| 10 |
lightbox.initialize('a[rel="photonic-imagelightbox"]'); |
| 11 |
|
| 12 |
Core.executeCommon(); |
| 13 |
Listeners.addAllListeners(); |
| 14 |
Layout.initializeLayouts(lightbox); |
| 15 |
}); |
| 16 |
|