diff options
author | 2019-03-14 13:12:55 +0530 | |
---|---|---|
committer | 2019-03-14 13:13:05 +0530 | |
commit | f624f89ad858925823428beacf415cfd4cae3e4c (patch) | |
tree | efdf4bc6d638520c7e3a6bc92037b248d572a508 /cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor | |
parent | 57e97e6e0abe1f42c8596f9b9dbbe202ca4e0919 (diff) |
Velocity mode support
Change-Id: I6814b57d117fed267bbb39988ca2e6f4ea7f7c49
Issue-ID: CCSDK-707
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts index 37ac522af..7203dc8b3 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts @@ -217,15 +217,12 @@ export class EditorComponent implements OnInit { setEditorMode() { switch (this.fileExtension) { case "xml": - // console.log("xml mode set"); this.mode = 'xml'; break; case "py": - console.log("python mode set"); this.mode = 'python'; break; case "kts": - // console.log("kotlin mode set"); this.mode = 'kotlin'; break; case "txt": @@ -234,9 +231,11 @@ export class EditorComponent implements OnInit { case "meta": this.mode = 'text'; break; + case "vtl": + this.mode = 'velocity'; + break; default: this.mode = 'json'; - console.log("json mode set"); } } } |