Skip to content
Myr

Fixed typo causing cookie() to fail

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 92fffa8 · Browse files · 3 files+3 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−8 removed

  • tests:+1 added−1 removed
  • other:+2 added−7 removed

3 files+3 added−8 removed

modified:lib/express/plugins/cookie.js+1 added-1 removed
modified:lib/express/request.js+1 added-6 removed
81 unmodified lines
8283exports.Request = Class({84 85 /**86 * Route parameters.87 */88 89 params: {},90 91 /**86 * Initialize with node's _request_ and _response_ objects.87 *88 * @param {object} request89 * @param {object} response
2 unmodified lines
92 93 init: function(request, response) {94 process.mixin(true, this, request)95 response.headers = {}96 this.params = {}97 this.response = response98 this.uri.path = exports.normalizePath(this.uri.path)99 this.uri.params = parseNestedParams(this.uri.params)100 this.plugins = $(Express.plugins).map(function(plugin){
139 unmodified lines
modified:spec/spec.plugins.cookie.js+1 added-1 removed