vscode ext 0.0.2, minor tweaks
This commit is contained in:
parent
ba496eb1a1
commit
77c2e51aca
22
packages/vscode-ext/LICENSE
Normal file
22
packages/vscode-ext/LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Foretold
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
|
@ -2,7 +2,13 @@
|
||||||
"name": "vscode-squiggle",
|
"name": "vscode-squiggle",
|
||||||
"displayName": "Squiggle",
|
"displayName": "Squiggle",
|
||||||
"description": "Squiggle language support",
|
"description": "Squiggle language support",
|
||||||
"version": "0.0.1",
|
"license": "MIT",
|
||||||
|
"version": "0.0.2",
|
||||||
|
"publisher": "berekuk",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/quantified-uncertainty/squiggle.git"
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.68.0"
|
"vscode": "^1.68.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -123,9 +123,9 @@ export class SquiggleEditorProvider implements vscode.CustomTextEditorProvider {
|
||||||
</head>
|
</head>
|
||||||
<body style="background-color: white; color: black; padding: 12px">
|
<body style="background-color: white; color: black; padding: 12px">
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
${scriptUris.map(
|
${scriptUris
|
||||||
(uri) => `<script nonce="${nonce}" src="${uri}"></script>`
|
.map((uri) => `<script nonce="${nonce}" src="${uri}"></script>`)
|
||||||
)}
|
.join("")}
|
||||||
</body>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user