Structure window doesn't show structure for JavaScript files using Backbone.js. WebStrom 10.0.4

I'm using Backbone.js in my project and structure window doesn't show structure of my js modules. All it shows is the name of module or variable and nothing else.
I think it worked corrrectly in WebStrom 9 <=, because I didn't notice something was wrong there.

Can it be configured somehow or is it a bug?

Thank you.

Structure using Backbone:
Structure doesn't work.png

Structure which I expect:
Structure as expected.png

Please sign in to leave a comment.