Dev: Use prettier to format code

This commit is contained in:
redhoodsu
2018-06-12 22:19:56 +08:00
parent 70b5aedc36
commit 1e5a6560fa
68 changed files with 5051 additions and 5884 deletions

View File

@@ -1,24 +1,20 @@
import {Class} from '../lib/util';
import { Class } from '../lib/util';
export default Class({
init($el)
{
init($el) {
this._$el = $el;
},
show()
{
show() {
this._$el.show();
return this;
},
hide()
{
hide() {
this._$el.hide();
return this;
},
destroy()
{
destroy() {
this._$el.remove();
}
});
});