-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrites accessible diff viewer (formerly called difference review)
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. --> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script> | ||
performance.mark('code/didStartRenderer'); | ||
</script> | ||
<meta charset="utf-8" /> | ||
|
||
<!-- Mobile tweaks --> | ||
<meta name="mobile-web-app-capable" content="yes" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
<meta name="apple-mobile-web-app-title" content="Code"> | ||
<link rel="apple-touch-icon" href="/resources/server/code-192.png" /> | ||
|
||
<!-- Disable pinch zooming --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> | ||
|
||
<!-- Workbench Configuration --> | ||
<meta id="vscode-workbench-web-configuration" data-settings="{"remoteAuthority":"localhost:8080","developmentOptions":{"logLevel":3},"enableWorkspaceTrust":true,"productConfiguration":{"embedderIdentifier":"server-distro","extensionsGallery":{"nlsBaseUrl":"https://www.vscode-unpkg.net/_lp/","serviceUrl":"https://marketplace.visualstudio.com/_apis/public/gallery","searchUrl":"https://marketplace.visualstudio.com/_apis/public/gallery/searchrelevancy/extensionquery","servicePPEUrl":"https://marketplace.vsallin.net/_apis/public/gallery","cacheUrl":"https://vscode.blob.core.windows.net/gallery/index","itemUrl":"https://marketplace.visualstudio.com/items","publisherUrl":"https://marketplace.visualstudio.com/publishers","resourceUrlTemplate":"https://{publisher}.vscode-unpkg.net/{publisher}/{name}/{version}/{path}","controlUrl":"https://az764295.vo.msecnd.net/extensions/marketplace.json"}},"callbackRoute":"/oss-dev/callback"}"> | ||
|
||
<!-- Workbench Auth Session --> | ||
<meta id="vscode-workbench-auth-session" data-settings=""> | ||
|
||
<!-- Builtin Extensions (running out of sources) --> | ||
<meta id="vscode-workbench-builtin-extensions" data-settings="undefined"> | ||
|
||
<!-- Workbench Icon/Manifest/CSS --> | ||
<link rel="icon" href="/resources/server/favicon.ico" type="image/x-icon" /> | ||
<link rel="manifest" href="/resources/server/manifest.json" crossorigin="use-credentials" /> | ||
|
||
</head> | ||
|
||
<body aria-label=""> | ||
</body> | ||
|
||
<!-- Startup (do not modify order of script tags!) --> | ||
<script src="/out/vs/loader.js"></script> | ||
<script src="/out/vs/webPackagePaths.js"></script> | ||
<script> | ||
const baseUrl = new URL('', window.location.origin).toString(); | ||
Object.keys(self.webPackagePaths).map(function (key, index) { | ||
self.webPackagePaths[key] = `${baseUrl}remote/web/node_modules/${key}/${self.webPackagePaths[key]}`; | ||
}); | ||
require.config({ | ||
baseUrl: `${baseUrl}out`, | ||
recordStats: true, | ||
trustedTypesPolicy: window.trustedTypes?.createPolicy('amdLoader', { | ||
createScriptURL(value) { | ||
if(value.startsWith(window.location.origin)) { | ||
return value; | ||
} | ||
throw new Error(`Invalid script url: ${value}`) | ||
} | ||
}), | ||
paths: self.webPackagePaths | ||
}); | ||
</script> | ||
<script> | ||
performance.mark('code/willLoadWorkbenchMain'); | ||
</script> | ||
<script> | ||
require(['vs/code/browser/workbench/workbench'], function() {}); | ||
</script> | ||
</html> |