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
/** | |
* Examples of function and object overriding | |
* in addition to dynamic dependency injection. | |
* | |
* If you want proof this works, just take this gist, | |
* put it into a file (e.g. "test.js") and then run | |
* `node test.js' followed by `node test.js new` | |
*/ | |
/* |