bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/mini-nav.js
function(item) {
			this.scope("");
			return this.fileClient.getWorkspace(item.Location).then(function(workspace) {
				return this.loadRoot(workspace).then(function() {
					return this.showItem(item, false); // call with reroot=false to avoid recursion
				}.bind(this));
			}.bind(this));
		}
function(item) {
			this.scope("");
			return this.fileClient.getWorkspace(item.Location).then(function(workspace) {
				return this.loadRoot(workspace).then(function() {
					return this.showItem(item, false); // call with reroot=false to avoid recursion
				}.bind(this));
			}.bind(this));
		}
function ( item ) { this . scope ( "" ) ; return this . fileClient . getWorkspace ( item . Location ) . then ( function ( workspace ) { return this . loadRoot ( workspace ) . then ( function ( ) { return this . showItem ( item , false ) ; // call with reroot=false to avoid recursion } . bind ( this ) ) ; } . bind ( this ) ) ; }
Re-roots the tree so that the given item is displayable.
@param {Object} The item to be expanded.
@returns {orion.Promise}
Re - roots the tree so that the given item is displayable .