We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not sure why we're not just evaling on the fn.toString() haha... my bad, this looks too ugly:
\n\ /**\n\ * Running flag.\n\ */\n\ \n\ var running;\n\ \n\ /**\n\ * Register `path` with callback `fn()`,\n\ * or route `path`, or `page.start()`.\n\ *\n\ * page(fn);\n\ * page('*', fn);\n\ * page('/user/:id', load, user);\n\ * page('/user/' + user.id, { some: 'thing' });\n\ * page('/user/' + user.id);\n\ * page();\n\ *\n\ * @param {String|Function} path\n\ * @param {Function} fn...\n\ * @api public\n\ */\n\ \n\ function page(path, fn) {\n\ // <callback>\n\ if ('function' == typeof path) {\n\ return page('*', path);\n\
The text was updated successfully, but these errors were encountered:
Where tabs are used, a bunch of \t are in there as well, even uglier. :(
\t
Sorry, something went wrong.
No branches or pull requests
not sure why we're not just evaling on the fn.toString() haha... my bad, this looks too ugly:
The text was updated successfully, but these errors were encountered: