lib/ProfileIndex.js
function( po ) {
		this.objects[po.name] = po;
		if (po.extends) {
			this._objTree.push([ po.extends, po.name ]);
		} else if (po.depends) {
			this._objTree.push([ po.depends, po.name ]);
		} else {
			this._objList.push( po.name );
		}
	}
function( po ) {
		this.objects[po.name] = po;
		if (po.extends) {
			this._objTree.push([ po.extends, po.name ]);
		} else if (po.depends) {
			this._objTree.push([ po.depends, po.name ]);
		} else {
			this._objList.push( po.name );
		}
	}
function ( po ) { this . objects [ po . name ] = po ; if ( po . extends ) { this . _objTree . push ( [ po . extends , po . name ] ) ; } else if ( po . depends ) { this . _objTree . push ( [ po . depends , po . name ] ) ; } else { this . _objList . push ( po . name ) ; } }
Add a profile object on the index
Add a profile object on the index