bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js
function() {
			return _xhr("GET", this.workspaceBase, {
				headers: {
					"Orion-Version": "1"
				},
				timeout: 15000
			}).then(function(result) {
				var jsonData = result.response ? JSON.parse(result.response) : {};
				return jsonData.Workspaces;
			}).then(function(result) {
				if (this.makeAbsolute) {
					_normalizeLocations(result);
				}
				return result;
			}.bind(this));
		}
function() {
			return _xhr("GET", this.workspaceBase, {
				headers: {
					"Orion-Version": "1"
				},
				timeout: 15000
			}).then(function(result) {
				var jsonData = result.response ? JSON.parse(result.response) : {};
				return jsonData.Workspaces;
			}).then(function(result) {
				if (this.makeAbsolute) {
					_normalizeLocations(result);
				}
				return result;
			}.bind(this));
		}
function ( ) { return _xhr ( "GET" , this . workspaceBase , { headers : { "Orion-Version" : "1" } , timeout : 15000 } ) . then ( function ( result ) { var jsonData = result . response ? JSON . parse ( result . response ) : { } ; return jsonData . Workspaces ; } ) . then ( function ( result ) { if ( this . makeAbsolute ) { _normalizeLocations ( result ) ; } return result ; } . bind ( this ) ) ; }
Loads all the user's workspaces. Returns a deferred that will provide the loaded
workspaces when ready.
Loads all the user s workspaces . Returns a deferred that will provide the loaded workspaces when ready .