Files
OfficialSite/assets/scripts/modules/Generic.js
Antoine Boulanger 93c66c196d ;
2016-03-16 12:11:27 -04:00

24 lines
522 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ==========================================================================
// 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;