See #1344. Remove Sass support from Vue beautifier

This commit is contained in:
Glavin Wiechert 2017-04-15 16:20:29 -03:00
parent 3435e16eb4
commit 3c14757b4d
3 changed files with 7 additions and 24 deletions

View File

@ -17,17 +17,9 @@ export default {
</script>
<style lang="sass">
nav {
ul {
margin:0 padding: 0;
}
li {
display: inline-block;
}
a {
display: block;
}
}
body
color: red
background-color: red
</style>
<style lang="scss">

View File

@ -17,18 +17,9 @@ return {
</script>
<style lang="sass">
nav {
ul {
margin: 0
padding: 0
}
li {
display: inline-block
}
a {
display: block
}
}
body
color: red
background-color: red
</style>
<style lang="scss">

View File

@ -31,7 +31,7 @@ module.exports = class VueBeautifier extends Beautifier
require("js-beautify")(text, options)
when "style"
switch lang
when "sass", "scss"
when "scss"
options = _.merge(options,
source: text
lang: "scss"