Update prettydiff to 2.2.7, change UX Markup to xml

This commit is contained in:
Glavin Wiechert 2017-10-07 22:00:14 -03:00
parent 153a507290
commit f8509fc2ee
2 changed files with 4 additions and 6 deletions

View File

@ -179,7 +179,7 @@
"node-dir": "0.1.17", "node-dir": "0.1.17",
"node-uuid": "1.4.8", "node-uuid": "1.4.8",
"open": "0.0.5", "open": "0.0.5",
"prettydiff2": ">2.2.5", "prettydiff2": "^2.2.7",
"pug-beautify": "^0.1.1", "pug-beautify": "^0.1.1",
"remark": "6.0.1", "remark": "6.0.1",
"season": "6.0.0", "season": "6.0.0",
@ -441,4 +441,4 @@
"prettydiff2" "prettydiff2"
] ]
} }
} }

View File

@ -81,8 +81,6 @@ module.exports = class PrettyDiff extends Beautifier
switch language switch language
when "CSV" when "CSV"
lang = "csv" lang = "csv"
when "Coldfusion"
lang = "html"
when "EJS", "Twig" when "EJS", "Twig"
lang = "ejs" lang = "ejs"
when "ERB" when "ERB"
@ -91,9 +89,9 @@ module.exports = class PrettyDiff extends Beautifier
lang = "handlebars" lang = "handlebars"
when "SGML" when "SGML"
lang = "markup" lang = "markup"
when "XML", "Visualforce", "SVG" when "XML", "Visualforce", "SVG", "UX Markup"
lang = "xml" lang = "xml"
when "HTML", "Nunjucks", "UX Markup" when "HTML", "Nunjucks", "Coldfusion"
lang = "html" lang = "html"
when "JavaScript" when "JavaScript"
lang = "javascript" lang = "javascript"