FIXED: [15.90b2] Code Explorer/Module missing function
Posted: 01 Jun 2023 08:00
So I have this JavaScript file:
Code Explorer shows me these two functions:
but not
However this function is recognized if I delete a space after "function" word:
while in the nested function above this space doesn't prevent editor from recognizing it and displaying in Code Explorer.
Code: Select all
$.fn.dataTable.ext.type.detect.unshift(function (d) {
return d === 'one' || d === 'two' || d === 'three' ? 'status-grade' : null;
});
// ---- datatables
$(document).ready(function() {
/* sort on status */
$.fn.dataTable.ext.type.order['status-grade-pre'] = function (d) {
switch (d) {
case 'one':
return 1;
case 'two':
return 2;
case 'three':
return 3;
}
return 0;
};
});
Code: Select all
$(document).ready(function() {
$.fn.dataTable.ext.type.order['status-grade-pre'] = function (d) {
Code: Select all
$.fn.dataTable.ext.type.detect.unshift(function (d) {
Code: Select all
$.fn.dataTable.ext.type.detect.unshift(function(d) {