Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 0.5.1

  • Loading branch information...
commit 644d19050634c79f9349907f80a89a75bfdf1748 1 parent 74c1396
@tj tj authored
Showing with 15 additions and 1 deletion.
  1. +8 −0 History.md
  2. +7 −1 lib/connect/middleware/router.js
View
8 History.md
@@ -1,4 +1,12 @@
+0.5.1 / 2010-12-28
+==================
+
+ * Added `req.session.id` mirroring `req.sessionID`
+ * Refactored router, exposing `connect.router.methods`
+ * Exclude non-lib files from npm
+ * Removed imposed headers `X-Powered-By`, `Server`, etc
+
0.5.0 / 2010-12-06
==================
View
8 lib/connect/middleware/router.js
@@ -13,6 +13,12 @@ var parse = require('url').parse
, querystring = require('querystring');
/**
+ * Expose router.
+ */
+
+exports = module.exports = router;
+
+/**
* Supported HTTP / WebDAV methods.
*/
@@ -57,7 +63,7 @@ var _methods = exports.methods = [
* @api public
*/
-module.exports = function router(fn){
+function router(fn){
var self = this
, methods = {}
, routes = {}
Please sign in to comment.
Something went wrong with that request. Please try again.