mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
2 lines
No EOL
846 B
JavaScript
2 lines
No EOL
846 B
JavaScript
"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4124],{4124:(e,n,t)=>{t.r(n),t.d(n,{default:()=>i});const i='var originalModel = monaco.editor.createModel(\n\t"This line is removed on the right.\\njust some text\\nabcd\\nefgh\\nSome more text",\n\t"text/plain"\n);\nvar modifiedModel = monaco.editor.createModel(\n\t"just some text\\nabcz\\nzzzzefgh\\nSome more text\\nThis line is removed on the left.",\n\t"text/plain"\n);\n\nvar diffEditor = monaco.editor.createDiffEditor(\n\tdocument.getElementById("container"),\n\t{\n\t\t// You can optionally disable the resizing\n\t\tenableSplitViewResizing: false,\n\n\t\t// Render the diff inline\n\t\trenderSideBySide: false,\n\t}\n);\ndiffEditor.setModel({\n\toriginal: originalModel,\n\tmodified: modifiedModel,\n});\n'}}]);
|
|
//# sourceMappingURL=4124.js.map
|