static/js/drawer.js
// function to load categories names and setup loaded icon after finishing
function to load categories names and setup loaded icon after finishing
function to load categories names and setup loaded icon after finishing
async function loadCategories(){
    var cat25 = await jQuery.getJSON('./model/30Ver2/easyCategories.json')
    categ25 = cat25
    d3.select('#loadingText').text('Model Loaded');
    d3.select('#loadingText').append('img').attr('width',40).attr('height',40).attr('src','./static/images/check.png');
}
async function loadCategories ( ) { var cat25 = await jQuery . getJSON ( './model/30Ver2/easyCategories.json' ) categ25 = cat25 d3 . select ( '#loadingText' ) . text ( 'Model Loaded' ) ; d3 . select ( '#loadingText' ) . append ( 'img' ) . attr ( 'width' , 40 ) . attr ( 'height' , 40 ) . attr ( 'src' , './static/images/check.png' ) ; }
function to load categories names and setup loaded icon after finishing
function to load categories names and setup loaded icon after finishing
// return cat25