mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 07:17:26 +02:00
Squashed 'lib/vscode/' content from commit e5a624b788
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
This commit is contained in:
17
extensions/markdown-language-features/preview-src/pre.ts
Normal file
17
extensions/markdown-language-features/preview-src/pre.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { CspAlerter } from './csp';
|
||||
import { StyleLoadingMonitor } from './loading';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
cspAlerter: CspAlerter;
|
||||
styleLoadingMonitor: StyleLoadingMonitor;
|
||||
}
|
||||
}
|
||||
|
||||
window.cspAlerter = new CspAlerter();
|
||||
window.styleLoadingMonitor = new StyleLoadingMonitor();
|
||||
Reference in New Issue
Block a user