Skip to content
Myr

Upgraded node support. Closes #169

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

Merge branch 'upgrade'

authored by visionmedia · committed by visionmedia · parents 2a4cbb1, 70a99ad · Browse files · 6 files+10 added−28 removed
This commit

State

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

Diff stats

6 files+10 added−28 removed

  • tests:+0 added−6 removed
  • other:+10 added−22 removed

6 files+10 added−28 removed

modified:examples/chat/app.js+2 added-2 removed
modified:examples/upload/app.js+2 added-2 removed
modified:lib/express/helpers.js-12 removed
21 unmodified lines
22 return uid23}2425/**26 * Return the directory name of the given _path_.27 *28 * @param {string} path29 * @return {string}30 * @api public31 */3233exports.dirname = function(path) {34 return path.split('/').slice(0, -1).join('/')35}3637/**26 * Return the extension name of the given _path_,27 * or null when not present.28 *29 * @param {string} path
94 unmodified lines
modified:lib/express.js+4 added-4 removed
modified:spec/spec.helpers.js-6 removed
modified:Readme.md+2 added-2 removed
55 unmodified lines
56 57 configure(function(){58 use(MethodOverride)59 use(ContentLength)60 set('root', dirname(__filename))60 set('root', __dirname)61 })62 63 get('/hello', function(){64 this.contentType('html')
37 unmodified lines
102 $ node spec/node.js routing103 ...104 105Express is currently being developed with node --version:106 v0.1.24-13-ge2abc5f106 v0.1.27107 108## More Information109110 * [JavaScript Extensions & Utilities](http://github.com/visionmedia/ext.js)
34 unmodified lines