bundles/org.eclipse.orion.client.ui/web/orion/settings/ui/PluginSettings.js
function() {
			var configuration = this.config;
			if (!configuration) {
				var pid = this.pid, self = this;
				this.configPromise = this.configPromise ||
					Deferred.all([
						this.configAdmin.getDefaultConfiguration(pid),
						this.configAdmin.getConfiguration(pid)
					]).then(function(result) {
						self.defaultConfig = result[0];
						self.config = result[1];
						return self.config;
					});
				return this.configPromise;
			}
			return new Deferred().resolve(configuration);
		}
function() {
			var configuration = this.config;
			if (!configuration) {
				var pid = this.pid, self = this;
				this.configPromise = this.configPromise ||
					Deferred.all([
						this.configAdmin.getDefaultConfiguration(pid),
						this.configAdmin.getConfiguration(pid)
					]).then(function(result) {
						self.defaultConfig = result[0];
						self.config = result[1];
						return self.config;
					});
				return this.configPromise;
			}
			return new Deferred().resolve(configuration);
		}
function ( ) { var configuration = this . config ; if ( ! configuration ) { var pid = this . pid , self = this ; this . configPromise = this . configPromise || Deferred . all ( [ this . configAdmin . getDefaultConfiguration ( pid ) , this . configAdmin . getConfiguration ( pid ) ] ) . then ( function ( result ) { self . defaultConfig = result [ 0 ] ; self . config = result [ 1 ] ; return self . config ; } ) ; return this . configPromise ; } return new Deferred ( ) . resolve ( configuration ) ; }
Creates a new configuration if necessary
Creates a new configuration if necessary