I have php file within that I have code part :
usort($subCategoryData, function ($a, $b)
{
return $a['categoryLabel'] > $b['categoryLabel']; // Sortierreihenfolge: "<" = DESC | ">" = "ASC"
});
There is nothing wrong in syntax but still Ace won't work with it.
If I use
editor.getSession().getAnnotations()
I get like this:
text : | | "This.Node_Expr_Closure is not a function" |
|
Whereas we should not have any annotations.
Can you please help me for this.
Thanks in advance