src/debug/registry.js
function updateNestedModels() {
  nestedRegistry.models = [];
  _.each(nestedRegistry.views, function(view) {
    var data = (view.obj.model || view.obj.collection);
    if (data) {
      nestedRegistry.models.push(flatRegistry.models[data.getDebugName()]);
    }
  });
}
function updateNestedModels() {
  nestedRegistry.models = [];
  _.each(nestedRegistry.views, function(view) {
    var data = (view.obj.model || view.obj.collection);
    if (data) {
      nestedRegistry.models.push(flatRegistry.models[data.getDebugName()]);
    }
  });
}
function updateNestedModels ( ) { nestedRegistry . models = [ ] ; _ . each ( nestedRegistry . views , function ( view ) { var data = ( view . obj . model || view . obj . collection ) ; if ( data ) { nestedRegistry . models . push ( flatRegistry . models [ data . getDebugName ( ) ] ) ; } } ) ; }
Updates nestedRegistry.models using the top level view's models to get nesting
Updates nestedRegistry . models using the top level view s models to get nesting