This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement: added explicit string conversion for Module
I declared toString() as an alias for getId(), which enhances log messages printed for the failure of a module during startAll() or endAll(). This mechanism is flexible enough that if the failure is due to the module being null undefined or the wrong kind of object, the native toString() function is used instead.
- Loading branch information
Eric Bréchemier
committed
Jan 24, 2011
1 parent
5c7eb27
commit 938e16c
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters