Use const enums (to inline their values in JS)

This commit is contained in:
Alex Dima
2018-09-06 20:39:01 +02:00
parent bdaedb0238
commit c36258d23f
76 changed files with 130 additions and 125 deletions

View File

@@ -11,7 +11,7 @@ import * as nls from 'vscode-nls';
const localize = nls.loadMessageBundle();
export enum MarkdownPreviewSecurityLevel {
export const enum MarkdownPreviewSecurityLevel {
Strict = 0,
AllowInsecureContent = 1,
AllowScriptsAndAllContent = 2,