5256.js 889 B

12
  1. "use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5256],{5256:(t,n,e)=>{e.r(n),e.d(n,{default:()=>a});const a='var jsCode = [\n\t\'"use strict";\',\n\t"function Person(age) {",\n\t"\tif (age) {",\n\t"\t\tthis.age = age;",\n\t"\t}",\n\t"}",\n\t"Person.prototype.getAge = function () {",\n\t"\treturn this.age;",\n\t"};",\n].join("\\n");\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: jsCode,\n\tlanguage: "javascript",\n\tglyphMargin: true,\n});\n\nvar decorations = editor.createDecorationsCollection([\n\t{\n\t\trange: new monaco.Range(3, 1, 3, 1),\n\t\toptions: {\n\t\t\tisWholeLine: true,\n\t\t\tclassName: "myContentClass",\n\t\t\tglyphMarginClassName: "myGlyphMarginClass",\n\t\t},\n\t},\n]);\n\n// You can now use `decorations` to change or remove the decoration\n'}}]);
  2. //# sourceMappingURL=5256.js.map