Skip to content

Commit

Permalink
fix(angular): fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-infra committed Oct 8, 2024
1 parent 72140a6 commit 463a812
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions verify/angular/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
* Licensed under the MIT License. See LICENSE in the package root for license information.
* ------------------------------------------------------------------------------------------ */

import { AfterViewInit, Component } from "@angular/core";
import { MonacoEditorLanguageClientWrapper } from "monaco-editor-wrapper";
import { jsonClientUserConfig } from "monaco-languageclient-examples/json-client";
import { AfterViewInit, Component } from '@angular/core';
import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper';
import { jsonClientUserConfig } from 'monaco-languageclient-examples/json-client';

@Component({
selector: "app-root",
templateUrl: "./app.component.html",
styleUrls: ["./app.component.css"],
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
standalone: true,
})
export class MonacoEditorComponent implements AfterViewInit {
title = "angular-client";
title = 'angular-client';
initDone = false;

async ngAfterViewInit(): Promise<void> {
const wrapper = new MonacoEditorLanguageClientWrapper();
const htmlElement = document.getElementById("monaco-editor-root");
const htmlElement = document.getElementById('monaco-editor-root');
try {
await wrapper.initAndStart(jsonClientUserConfig, htmlElement);
} catch (e) {
Expand Down
4 changes: 2 additions & 2 deletions verify/angular/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
* Licensed under the MIT License. See LICENSE in the package root for license information.
* ------------------------------------------------------------------------------------------ */

import { bootstrapApplication } from "@angular/platform-browser";
import { MonacoEditorComponent } from "./app/app.component";
import { bootstrapApplication } from '@angular/platform-browser';
import { MonacoEditorComponent } from './app/app.component';
bootstrapApplication(MonacoEditorComponent);

0 comments on commit 463a812

Please sign in to comment.