File structure unavailable for AMD javascript

In v3 the structure tool had limited support for javascript code within backbone code wrapped in AMD defnintions.  As long as the code was organized into the format of

    function (Backbone) {      
        return Backbone.Model.extend({
          // custom model code

the structure window interprets everything within the "custom model code" area as an anonymous function with class of 'prototype', rendering all of the file's structure as expected.  After upgrading to 4.0 this has been lost, and now all of my models/views etc. show "nothing to show" in the structure window.  

Is this a configuration error on my part, or has this functionality changed with the ongoing development of AMD support?
1 comment
Comment actions Permalink

This is bug of the ongoing development of AMD support.
Please file YouTrack ticket with example code.


Please sign in to leave a comment.