Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Small update
Browse files Browse the repository at this point in the history
  • Loading branch information
dsebastien committed Mar 4, 2016
1 parent d5c2bf7 commit 739ab71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/modules/commons/modules/module.registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class ModuleRegistry {
* Register a module
* @param module the module to register
*/
registerModule(module:IModule) {
registerModule(module:IModule):void {
this.modules.push(module);
this.moduleNames.push(module.name);
}
Expand Down
3 changes: 2 additions & 1 deletion src/app/modules/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {ModuleRegistry} from "./commons/modules/module.registry";
import {homeModule} from "./home/home";

const moduleRegistry:ModuleRegistry = new ModuleRegistry();
exports.moduleRegistry = moduleRegistry;

// Register all your modules below
moduleRegistry.registerModule(homeModule);

exports.moduleRegistry = moduleRegistry;

0 comments on commit 739ab71

Please sign in to comment.