Created
December 1, 2014 10:40
-
-
Save StoneCypher/10ad98ae156e43ae4628 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| handler1.js: | |
| ------------ | |
| function HandleOne(req, res) { ... } | |
| module.exports = HandleOne; | |
| // and there's several more files like this | |
| main: | |
| var handler1 = require("handler1"), | |
| handler2 = require("handler2"); | |
| app.get('/one', handler1); | |
| app.get('/two', handler2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment