-
-
Save technoweenie/808401ee91d56c139993 to your computer and use it in GitHub Desktop.
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
( fab ) | |
( '/foobar' ) | |
// INSERT APP HERE | |
( "/track", ...) | |
( "/location", ...) | |
() | |
( fab ) | |
app = fab('/hello', 'hello') | |
app = WheresWaldo.mount('/waldo', app) | |
app(fab) | |
WheresWaldo.mount = function(prefix, app) { | |
return app | |
(prefix) | |
('/track', ...) | |
("/location", ...) | |
(); | |
} | |
( fab ) | |
('/hello', 'hello') | |
.mount('/waldo', WheresWaldo.mount) | |
( fab ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment