Skip to content

Commit

Permalink
Update class.js submodule with Class#include()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 16, 2010
1 parent a329a9f commit ac96b8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/express/request.js
Expand Up @@ -29,7 +29,7 @@ exports.normalizePath = function(path) {

// --- Request

exports.Request = Class({
exports.Request = new NewClass({

/**
* Initialize with node's _request_ and _response_ objects.
Expand All @@ -45,7 +45,7 @@ exports.Request = Class({
* @api private
*/

init: function(request, response) {
constructor: function(request, response) {
utils.mixin(true, this, request)
response.headers = {}
this.response = response
Expand Down
2 changes: 1 addition & 1 deletion lib/support/class
Submodule class updated from ebfa3f to 5ed0e4

0 comments on commit ac96b8c

Please sign in to comment.