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-uuid": "1.4.8",
"open": "0.0.5",
"prettydiff2": ">2.2.5",
"prettydiff2": "^2.2.7",
"pug-beautify": "^0.1.1",
"remark": "6.0.1",
"season": "6.0.0",
@ -441,4 +441,4 @@
"prettydiff2"
]
}
}
}

View File

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