From 5acb2643686a92ebbd01a9bac36477a9f752b891 Mon Sep 17 00:00:00 2001 From: Austin Cheney Date: Fri, 22 Jan 2016 14:45:13 -0600 Subject: [PATCH 1/4] Updating riotjs.coffee per comment: https://github.com/Glavin001/atom-beautify/issues/750#issuecomment-174029448 --- src/languages/index.coffee | 3 +++ src/languages/riotjs.coffee | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/languages/index.coffee b/src/languages/index.coffee index 895b5b2..2638a85 100644 --- a/src/languages/index.coffee +++ b/src/languages/index.coffee @@ -43,10 +43,12 @@ module.exports = class Languages "php" "puppet" "python" + "riotjs" "ruby" "rust" "sass" "scss" + "sld" "spacebars" "sql" "svg" @@ -57,6 +59,7 @@ module.exports = class Languages "vala" "visualforce" "xml" + "xtemplate" ] ### diff --git a/src/languages/riotjs.coffee b/src/languages/riotjs.coffee index 444cf18..f891a8e 100644 --- a/src/languages/riotjs.coffee +++ b/src/languages/riotjs.coffee @@ -9,7 +9,7 @@ module.exports = { Supported Grammars ### grammars: [ - "Riot.js" + "Riot.js", "HTML (Riot Tag)" ] ### From 643e695e55e50b2e4a3e1ce618db6352f9e00e74 Mon Sep 17 00:00:00 2001 From: Austin Cheney Date: Fri, 22 Jan 2016 15:15:02 -0600 Subject: [PATCH 2/4] fixing a defect --- src/languages/index.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/src/languages/index.coffee b/src/languages/index.coffee index 2638a85..3cc07bb 100644 --- a/src/languages/index.coffee +++ b/src/languages/index.coffee @@ -50,7 +50,6 @@ module.exports = class Languages "scss" "sld" "spacebars" - "sql" "svg" "swig" "tss" From b41bb12127cd0acb36db680a8f56aaf7df5e2d3c Mon Sep 17 00:00:00 2001 From: Austin Cheney Date: Fri, 22 Jan 2016 15:16:26 -0600 Subject: [PATCH 3/4] fixing a defect --- src/languages/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/index.coffee b/src/languages/index.coffee index 3cc07bb..5558f08 100644 --- a/src/languages/index.coffee +++ b/src/languages/index.coffee @@ -48,8 +48,8 @@ module.exports = class Languages "rust" "sass" "scss" - "sld" "spacebars" + "sql" "svg" "swig" "tss" From f2da1d0d297f39be70e244c03b8de46e88c70955 Mon Sep 17 00:00:00 2001 From: Austin Cheney Date: Fri, 22 Jan 2016 16:16:10 -0600 Subject: [PATCH 4/4] changing default beautifier to pass unit tests --- src/languages/riotjs.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/riotjs.coffee b/src/languages/riotjs.coffee index f891a8e..daf7a22 100644 --- a/src/languages/riotjs.coffee +++ b/src/languages/riotjs.coffee @@ -19,7 +19,7 @@ module.exports = { 'tag' ] - defaultBeautifier: "Pretty Diff" + defaultBeautifier: "JS Beautify" options: []