Simplify paths in metadata.js

This commit is contained in:
Alex Dima 2021-11-08 16:32:06 +01:00
parent a155838b58
commit 1a21834a97
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
33 changed files with 1267 additions and 1198 deletions

View file

@ -22,7 +22,7 @@ THIS IS A GENERATED FILE VIA gulp generate-test-samples
<div id="outer-container" style="width:800px;height:450px;border: 1px solid grey">
<!-- ----------------------------------------SAMPLE HTML START-->
<div id="container" style="height:100%;"></div>
<div id="container" style="height: 100%"></div>
<!-- ----------------------------------------SAMPLE HTML END-->
@ -35,10 +35,16 @@ THIS IS A GENERATED FILE VIA gulp generate-test-samples
loadEditor(function() {
/*----------------------------------------SAMPLE JS START*/
var originalModel = monaco.editor.createModel("This line is removed on the right.\njust some text\nabcd\nefgh\nSome more text", "text/plain");
var modifiedModel = monaco.editor.createModel("just some text\nabcz\nzzzzefgh\nSome more text\nThis line is removed on the left.", "text/plain");
var originalModel = monaco.editor.createModel(
'This line is removed on the right.\njust some text\nabcd\nefgh\nSome more text',
'text/plain'
);
var modifiedModel = monaco.editor.createModel(
'just some text\nabcz\nzzzzefgh\nSome more text\nThis line is removed on the left.',
'text/plain'
);
var diffEditor = monaco.editor.createDiffEditor(document.getElementById("container"), {
var diffEditor = monaco.editor.createDiffEditor(document.getElementById('container'), {
// You can optionally disable the resizing
enableSplitViewResizing: false,