Skip to content

Commit

Permalink
code allignment
Browse files Browse the repository at this point in the history
Issue #303
  • Loading branch information
rsoika committed Nov 20, 2023
1 parent 4c5b35c commit 2700bc7
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 291 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const ignoredResources = new Set();

if (process.platform !== 'win32') {
ignoredResources.add('@vscode/windows-ca-certs');
ignoredResources.add('@vscode/windows-ca-certs/build/Release/crypt32.node');
}

const nativePlugin = new NativeWebpackPlugin({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
import { bindAsService } from '@eclipse-glsp/protocol';
import { GLSPServerContribution } from '@eclipse-glsp/theia-integration/lib/node';
import { ContainerModule } from '@theia/core/shared/inversify';
import { BPMNGLSPSocketServerContribution } from './bpmn-glsp-server-contribution';

export default new ContainerModule(bind => {
bindAsService(bind, GLSPServerContribution, BPMNGLSPSocketServerContribution);
});

// export default new ContainerModule(bind => {
// bind(BPMNGLSPSocketServerContribution).toSelf().inSingletonScope();
// bind(GLSPServerContribution).toService(BPMNGLSPSocketServerContribution);
// });
// bindAsService(bind, GLSPServerContribution, BPMNGLSPSocketServerContribution);
// });

export default new ContainerModule(bind => {
bind(BPMNGLSPSocketServerContribution).toSelf().inSingletonScope();
bind(GLSPServerContribution).toService(BPMNGLSPSocketServerContribution);
});
Loading

0 comments on commit 2700bc7

Please sign in to comment.