Skip to content

Commit

Permalink
fix: disable prettier for lib/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 18, 2020
1 parent da8ddd0 commit 5369415
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ function css(_) {

function StyledVue(Vue) {
Vue.component('styled-vue-global-css', {
render(h) {
const globalStyle = this.$parent.$options.globalStyle(this.$parent)
let css = ''
for (const key in globalStyle) {
render: function(h) {
var globalStyle = this.$parent.$options.globalStyle(this.$parent)
var css = ''
for (var key in globalStyle) {
css += key + ':' + globalStyle[key] + ';'
}
return h('style', {}, [':root {' + css + '}'])
Expand Down

0 comments on commit 5369415

Please sign in to comment.