24 lines
522 B
JavaScript
24 lines
522 B
JavaScript
// ==========================================================================
|
||
// Generic module
|
||
// ==========================================================================
|
||
import Module from './Module';
|
||
|
||
class Generic extends Module {
|
||
constructor(options) {
|
||
super();
|
||
this.$el = options.$el;
|
||
|
||
console.log('Generic module');
|
||
console.log(this.$el);
|
||
}
|
||
|
||
// Destroy
|
||
// ==========================================================================
|
||
destroy() {
|
||
this.$el.off();
|
||
}
|
||
}
|
||
|
||
export default Generic;
|
||
|