Skip to content
Myr

Added spec for parseNestedParams()

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

authored by visionmedia · committed by visionmedia · parent de054f8 · Browse files · 2 files+17 added−0 removed
This commit

State

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

Diff stats

2 files+17 added−0 removed

  • tests:+13 added−0 removed
  • other:+4 added−0 removed

2 files+17 added−0 removed

modified:lib/express.core.js+4 added
142 unmodified lines
143 param : function(key, defaultValue) {144 return this.request.uri.params[key] || defaultValue145 },146 147 parseNestedParams : function(params) {148 return params149 },150 151 /**152 * Normalize a path. Strips trailing / leading whitespace153 * and slashes ('/').154 *
185 unmodified lines
modified:spec/spec.core.js+13 added