assets/elearnjs/extensions/clickimage/assets/js/clickimage.js
function initializeClickimages() {
    var elements = document.querySelectorAll('[data-pins]');
    for(var i = 0; i < elements.length; i++) {
        /*
        try/catch so it continues with the next element without breaking
        out of the loop, when any syntax error occurs.
        */
        try {
            clickimagePins(elements[i]);
        }
        catch(err) {
            console.error(err);
        }
    }
}
function initializeClickimages() {
    var elements = document.querySelectorAll('[data-pins]');
    for(var i = 0; i < elements.length; i++) {
        /*
        try/catch so it continues with the next element without breaking
        out of the loop, when any syntax error occurs.
        */
        try {
            clickimagePins(elements[i]);
        }
        catch(err) {
            console.error(err);
        }
    }
}
function initializeClickimages ( ) { var elements = document . querySelectorAll ( '[data-pins]' ) ; for ( var i = 0 ; i < elements . length ; i ++ ) { /*
        try/catch so it continues with the next element without breaking
        out of the loop, when any syntax error occurs.
        */ try { clickimagePins ( elements [ i ] ) ; } catch ( err ) { console . error ( err ) ; } } }
Initializes all Clickimages. Clickimages are declared by the attribute `pins`.
Initializes all Clickimages . Clickimages are declared by the attribute pins .