This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Častý prípad - nahraj dve sady údajov z dvoch rôznych | |
// súborov a následne ich spoločne nejak spracuj. | |
// Pre jednoduchší a prehľadnejší syntax použijem | |
// na nahratie údajov jQuery: | |
$.getJSON('dataSet1.json', data1 => { | |
$.getJSON('dataSet2.json', data2 => { | |
console.dir(data1, data2) | |
}) | |
}) |