bundles/org.eclipse.orion.client.git/web/orion/git/gitPreferenceStorage.js
function(){
			var d = new Deferred();
			this._preferenceService.get(this._prefix, undefined, {scope: 2}).then(
				function(pref){
					var settings = pref["settings"];
					if(settings === undefined){
						d.resolve(false);
						return;
					}
					
					d.resolve(settings.enabled);
				}
			);
			
			return d;
		}
function(){
			var d = new Deferred();
			this._preferenceService.get(this._prefix, undefined, {scope: 2}).then(
				function(pref){
					var settings = pref["settings"];
					if(settings === undefined){
						d.resolve(false);
						return;
					}
					
					d.resolve(settings.enabled);
				}
			);
			
			return d;
		}
function ( ) { var d = new Deferred ( ) ; this . _preferenceService . get ( this . _prefix , undefined , { scope : 2 } ) . then ( function ( pref ) { var settings = pref [ "settings" ] ; if ( settings === undefined ) { d . resolve ( false ) ; return ; } d . resolve ( settings . enabled ) ; } ) ; return d ; }
Determines whether the storage is enabled by the user or not.
Determines whether the storage is enabled by the user or not .