diff --git a/webview-sample/src/extension.ts b/webview-sample/src/extension.ts index c320f8db..772da4a5 100644 --- a/webview-sample/src/extension.ts +++ b/webview-sample/src/extension.ts @@ -59,7 +59,7 @@ class CatCodingPanel { // Enable javascript in the webview enableScripts: true, - // And restric the webview to only loading content from our extension's `media` directory. + // And restrict the webview to only loading content from our extension's `media` directory. localResourceRoots: [ vscode.Uri.file(path.join(extensionPath, 'media')) ] @@ -190,4 +190,4 @@ function getNonce() { text += possible.charAt(Math.floor(Math.random() * possible.length)); } return text; -} \ No newline at end of file +}