mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
deploy: 4392096db2
This commit is contained in:
parent
3dd7e3e1d3
commit
e3b5585974
358 changed files with 358 additions and 358 deletions
2
5336.js
2
5336.js
|
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5336],{5336:(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});\n\nvar decorations = editor.deltaDecorations(\n\t[],\n\t[\n\t\t{\n\t\t\trange: new monaco.Range(3, 1, 5, 1),\n\t\t\toptions: {\n\t\t\t\tisWholeLine: true,\n\t\t\t\tlinesDecorationsClassName: "myLineDecoration",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\trange: new monaco.Range(7, 1, 7, 24),\n\t\t\toptions: { inlineClassName: "myInlineDecoration" },\n\t\t},\n\t]\n);\n'}}]);
|
||||
"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'}}]);
|
||||
//# sourceMappingURL=5336.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue