function parseMispObject(misp_object, query_url, functionToCall){ function generate(misp_object, query_url, functionToCall){ let $container = $("
") misp_object.Attribute.forEach(function (v, i) { let $query = $("") let $query_same = null if(v.type != 'counter' && v.type != 'datetime'){ if(query_url){ $query=$("").attr("href", query_url+v.value).text("query").css("margin-left", "10px") } // `_${functionToCall.name}('${v.value}')` refer to 'window._query_as_same = query_as_same' in my vue file $query_same = $("