Skip to content

Commit

Permalink
Revert "Fix compilations"
Browse files Browse the repository at this point in the history
This reverts commit f1d9958.
  • Loading branch information
sandy081 committed Sep 28, 2017
1 parent be9e7cf commit 3831ef5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
3 changes: 0 additions & 3 deletions src/vs/editor/standalone/browser/simpleServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,6 @@ export class SimpleConfigurationService implements IConfigurationService {
private _onDidUpdateConfiguration = new Emitter<IConfigurationServiceEvent>();
public onDidUpdateConfiguration: Event<IConfigurationServiceEvent> = this._onDidUpdateConfiguration.event;

private _onDidRegisterExtensionsConfigurations = new Emitter<void>();
public onDidRegisterExtensionsConfigurations: Event<void> = this._onDidRegisterExtensionsConfigurations.event;

private _configuration: Configuration<any>;

constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ export class TestConfigurationService extends EventEmitter implements IConfigura
return { dispose() { } };
}

public onDidRegisterExtensionsConfigurations() {
return { dispose() { } };
}

public lookup<C>(key: string, overrides?: IConfigurationOverrides): IConfigurationValue<C> {
const config = this.getConfiguration(undefined, overrides);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,7 @@ suite('TelemetryService', () => {
},
keys() { return { default: [], user: [], workspace: [], folder: [] }; },
values() { return {}; },
onDidUpdateConfiguration: emitter.event,
onDidRegisterExtensionsConfigurations: new Emitter<any>().event,
onDidUpdateConfiguration: emitter.event
});

assert.equal(service.isOptedIn, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class MockConfigurationService implements IConfigurationService {
public getConfiguration(): any { return this.configuration; }
public getConfigurationData(): any { return null; }
public onDidUpdateConfiguration() { return { dispose() { } }; }
public onDidRegisterExtensionsConfigurations() { return { dispose() { } }; }
}

suite('Workbench - TerminalConfigHelper', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ class MockConfigurationService implements IConfigurationService {
public getConfiguration(): any { return this.configuration; }
public getConfigurationData(): any { return null; }
public onDidUpdateConfiguration() { return { dispose() { } }; }
public onDidRegisterExtensionsConfigurations() { return { dispose() { } }; }
}

class MockCommandService implements ICommandService {
Expand Down

0 comments on commit 3831ef5

Please sign in to comment.