bundles/org.eclipse.orion.client.ui/web/orion/treeModelIterator.js
function(){
			this._cursor = null;
			this._prevCursor = null;
			this.root = null;
			//By default the cursor is pointed to the first child 
			if(this.firstLevelChildren.length > 0){
				this._cursor = this.firstLevelChildren[0];
				this.root = this.firstLevelChildren[0].parent;
			}
		}
function(){
			this._cursor = null;
			this._prevCursor = null;
			this.root = null;
			//By default the cursor is pointed to the first child 
			if(this.firstLevelChildren.length > 0){
				this._cursor = this.firstLevelChildren[0];
				this.root = this.firstLevelChildren[0].parent;
			}
		}
function ( ) { this . _cursor = null ; this . _prevCursor = null ; this . root = null ; //By default the cursor is pointed to the first child  if ( this . firstLevelChildren . length > 0 ) { this . _cursor = this . firstLevelChildren [ 0 ] ; this . root = this . firstLevelChildren [ 0 ] . parent ; } }
Reset cursor and previous cursor
Reset cursor and previous cursor