Skip to content

Commit 5369415

Browse files
committed
fix: disable prettier for lib/index.js
1 parent da8ddd0 commit 5369415

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ function css(_) {
99

1010
function StyledVue(Vue) {
1111
Vue.component('styled-vue-global-css', {
12-
render(h) {
13-
const globalStyle = this.$parent.$options.globalStyle(this.$parent)
14-
let css = ''
15-
for (const key in globalStyle) {
12+
render: function(h) {
13+
var globalStyle = this.$parent.$options.globalStyle(this.$parent)
14+
var css = ''
15+
for (var key in globalStyle) {
1616
css += key + ':' + globalStyle[key] + ';'
1717
}
1818
return h('style', {}, [':root {' + css + '}'])

0 commit comments

Comments
 (0)