5336.js 874 B

12
  1. "use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5336],{5336:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});const o='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});\n\nvar decorations = editor.createDecorationsCollection([\n\t{\n\t\trange: new monaco.Range(3, 1, 5, 1),\n\t\toptions: {\n\t\t\tisWholeLine: true,\n\t\t\tlinesDecorationsClassName: "myLineDecoration",\n\t\t},\n\t},\n\t{\n\t\trange: new monaco.Range(7, 1, 7, 24),\n\t\toptions: { inlineClassName: "myInlineDecoration" },\n\t},\n]);\n'}}]);
  2. //# sourceMappingURL=5336.js.map