🎨 add eslint

This commit is contained in:
jingsam 2016-12-25 22:49:42 +08:00
parent 829a2e4cfc
commit b0893113b3
88 changed files with 376 additions and 370 deletions

View file

@ -4,8 +4,6 @@
</div>
</template>
<script>
import { oneOf } from '../../utils/assist';
const prefixCls = 'ivu-col';
export default {
@ -24,7 +22,7 @@
data () {
return {
gutter: 0
}
};
},
computed: {
classes () {
@ -63,11 +61,11 @@
style = {
paddingLeft: this.gutter / 2 + 'px',
paddingRight: this.gutter / 2 + 'px'
}
};
}
return style;
}
}
}
</script>
};
</script>

View file

@ -41,7 +41,7 @@
[`${prefixCls}-${this.type}-${this.justify}`]: !!this.justify,
[`${this.className}`]: !!this.className
}
]
];
},
styles () {
let style = {};
@ -49,7 +49,7 @@
style = {
marginLeft: this.gutter / -2 + 'px',
marginRight: this.gutter / -2 + 'px'
}
};
}
return style;
@ -72,5 +72,5 @@
ready () {
this.updateGutter(this.gutter);
}
}
</script>
};
</script>