js/dataCollector/dataCollector.js
function _setEvents(eventsArray){

    for (let i = 0; i < eventsArray.length; i++){

        let event = eventsArray[i];
        dataManager.registerEvent(event[0], event[1], event[2]);

    }

}
function _setEvents(eventsArray){

    for (let i = 0; i < eventsArray.length; i++){

        let event = eventsArray[i];
        dataManager.registerEvent(event[0], event[1], event[2]);

    }

}
function _setEvents ( eventsArray ) { for ( let i = 0 ; i < eventsArray . length ; i ++ ) { let event = eventsArray [ i ] ; dataManager . registerEvent ( event [ 0 ] , event [ 1 ] , event [ 2 ] ) ; } }
collects the events from the given array and adds to datamanager
collects the events from the given array and adds to datamanager