4124.js 846 B

12
  1. "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'}}]);
  2. //# sourceMappingURL=4124.js.map