diff options
author | Dan Timoney <dtimoney@att.com> | 2019-03-14 20:15:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-14 20:15:21 +0000 |
commit | c4f2b6a32dfb173ca30206430c00dcb52179b314 (patch) | |
tree | 27dc9db3297b51c52f36c883d1892f316954b447 | |
parent | d8e68cb1c0c6367682ebb8f5a840046d7459a81f (diff) | |
parent | f624f89ad858925823428beacf415cfd4cae3e4c (diff) |
Merge "Velocity mode support"
-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"); } } } |