mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-13 10:48:35 +08:00
Dev: Use prettier to format code
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user