{"size": 1199, "ext": "js", "max_stars_repo_path": "tests/__tests-services__/renderLightbox.js", "max_stars_repo_name": "PiotrZdziarski/FsImage", "max_stars_repo_stars_event_min_datetime": "2019-10-03T14:24:56.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T18:27:17.000Z", "max_issues_repo_path": "tests/__tests-services__/renderLightbox.js", "max_issues_repo_name": "PiotrZdziarski/FsImage", "max_issues_repo_issues_event_min_datetime": "2019-10-03T08:14:48.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T00:15:58.000Z", "max_forks_repo_path": "tests/__tests-services__/renderLightbox.js", "max_forks_repo_name": "PiotrZdziarski/FsImage", "max_forks_repo_forks_event_min_datetime": "2019-11-09T16:29:20.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-28T19:45:04.000Z"}
{"max_stars_count": 194, "max_issues_count": 78, "max_forks_count": 32, "avg_line_length": 36.3333333333, "max_line_length": 113, "alphanum_fraction": 0.6788990826}
export function renderLightbox() {
    let a = document.createElement('a');
    a.setAttribute('data-fslightbox', 'gallery');
    a.setAttribute('href', 'https://i.imgur.com/Ys15LQF.jpg');
    document.body.appendChild(a);

    a = document.createElement('a');
    a.setAttribute('data-fslightbox', 'gallery');
    a.setAttribute('href', 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4');
    document.body.appendChild(a);

    a = document.createElement('a');
    a.setAttribute('data-fslightbox', 'gallery');
    a.setAttribute('href', 'https://www.youtube.com/watch?v=jNQXAC9IVRw');
    document.body.appendChild(a);

    const customSource = document.createElement('div');
    customSource.id = 'custom-source';
    customSource.className = 'hidden';
    document.body.appendChild(customSource);
    a = document.createElement('a');
    a.setAttribute('data-fslightbox', 'gallery');
    a.setAttribute('href', '#custom-source');
    document.body.appendChild(a);

    a = document.createElement('a');
    a.setAttribute('data-fslightbox', 'gallery');
    a.setAttribute('href', 'invalid');
    document.body.appendChild(a);

    require('../../src/index');
}
