Class: MyModule

MyModule

new MyModule()

Create a constructor method that calls the instance's init method. This allows the constructor to be overridden by other modules because they can override the init method with their own.
Source: