Merge tag '3.16.7'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parents 0cf02d4, 0b12cc0 · Browse files · 7 files·+36 added−16 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+36 added−16 removed
- tests:+1 added−1 removed
- other:+35 added−15 removed
Provenance
- Commit
9eafaa2- Tree
7d0fb4b- Author
Douglas Christopher Wilson <doug@somethingdoug.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent 1
0cf02d4- Parent 2
0b12cc0
7 files changed+36 added−16 removed
modified:examples/view-constructor/index.js+2 added-2 removed
21 unmodified lines222324252626272829304 unmodified lines353637383939404142434 unmodified lines21 unmodified lines }});
// pointing to a particular github repo to load files from itapp.set('views', 'visionmedia/express');app.set('views', 'strongloop/express');
// register a new view constructorapp.set('view', GithubView);
4 unmodified lines res.render('examples/markdown/views/index.md', { title: 'Example' });});
app.get('/Readme.md', function(req, res){ // rendering a view from https://github.com/visionmedia/express/blob/master/Readme.md // rendering a view from https://github.com/strongloop/express/blob/master/Readme.md res.render('Readme.md');});
/* istanbul ignore next */4 unmodified linesmodified:examples/web-service/index.js+1 added-1 removed
47 unmodified lines4849505152525354555656 unmodified lines47 unmodified lines
// these two objects will serve as our faux database
var repos = [ { name: 'express', url: 'http://github.com/visionmedia/express' } { name: 'express', url: 'http://github.com/strongloop/express' } , { name: 'stylus', url: 'http://github.com/learnboost/stylus' } , { name: 'cluster', url: 'http://github.com/learnboost/cluster' }];
56 unmodified linesmodified:test/acceptance/web-service.js+1 added-1 removed
51 unmodified lines52 request(app)53 .get('/api/repos?api-key=foo')54 .expect('Content-Type', 'application/json; charset=utf-8')55 .expect(/"name":"express"/)56- .expect(/"url":"http:\/\/github.com\/visionmedia\/express"/)56+ .expect(/"url":"http:\/\/github.com\/strongloop\/express"/)57 .expect(200, done)58 })59 })60 })45 unmodified linesmodified:Contributing.md+1 added-1 removed
12344567817 unmodified lines
## Website Issues
Issues for the expressjs.com website go here https://github.com/visionmedia/expressjs.comIssues for the expressjs.com website go here https://github.com/strongloop/expressjs.com
## PRs and Code contributions
* Tests must pass.17 unmodified linesmodified:History.md+19 added
1+unreleased2+==========3+4+ * deps: send@0.8.35+ - deps: destroy@1.0.36+ - deps: on-finished@2.1.07+8 4.8.4 / 2014-08-149 ==================10 11 * deps: qs@1.2.2392 unmodified lines404 - `app.router()` - returns the app Router instance405 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route406 - Router & Route - public API407 408+3.16.7 / 2014-08-18409+===================410+411+ * deps: connect@2.25.7412+ - deps: body-parser@~1.6.5413+ - deps: express-session@~1.7.6414+ - deps: morgan@~1.2.3415+ - deps: serve-static@~1.5.3416+ * deps: send@0.8.3417+ - deps: destroy@1.0.3418+ - deps: on-finished@2.1.0419+420 3.16.6 / 2014-08-14421 ===================422 423 * deps: connect@2.25.61670 unmodified linesmodified:package.json+3 added-2 removed
21 unmodified lines22 "router",23 "app",24 "api"25 ],26- "repository": "visionmedia/express",26+ "repository": "strongloop/express",27 "license": "MIT",28+ "homepage": "http://expressjs.com/",29 "dependencies": {30 "accepts": "~1.0.7",31 "buffer-crc32": "0.2.3",32 "debug": "1.0.4",6 unmodified lines39 "path-to-regexp": "0.1.3",40 "proxy-addr": "1.0.1",41 "qs": "1.2.2",42 "range-parser": "1.0.0",42- "send": "0.8.2",43+ "send": "0.8.3",44 "serve-static": "~1.5.2",45 "type-is": "~1.3.2",46 "vary": "0.1.0",47 "cookie": "0.1.2",34 unmodified linesmodified:Readme.md+9 added-9 removed
1 [](https://expressjs.com/)2 3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).4 5- [](https://badge.fury.io/js/express)6- [](https://travis-ci.org/visionmedia/express)7- [](https://coveralls.io/r/visionmedia/express)8- [](https://www.gittip.com/dougwilson/)5+ [](https://www.npmjs.org/package/express)6+ [](https://travis-ci.org/strongloop/express)7+ [](https://coveralls.io/r/strongloop/express)8+ [](https://www.gittip.com/dougwilson/)9 10 ```js11 var express = require('express')12 var app = express()4 unmodified lines17 18 app.listen(3000)19 ```20 21- **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/visionmedia/express/wiki/New-features-in-4.x).21+ **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/strongloop/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/strongloop/express/wiki/New-features-in-4.x).22 23 ### Installation24 25 ```bash49 unmodified lines75 you can quickly craft your perfect framework.76 77 ## More Information78 79- * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/visionmedia/expressjs.com)]79+ * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/strongloop/expressjs.com)]80 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules81 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC82- * Visit the [Wiki](https://github.com/visionmedia/express/wiki)82+ * Visit the [Wiki](https://github.com/strongloop/express/wiki)83 * [Google Group](https://groups.google.com/group/express-js) for discussion84 * [Русскоязычная документация](http://jsman.ru/express/)85 * [한국어 문서](http://expressjs.kr) - [[website repo](https://github.com/Hanul/expressjs.kr)]86 * Run express examples [online](https://runnable.com/express)2 unmodified lines89 90 Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:91 92 ```bash93-$ git clone git://github.com/visionmedia/express.git --depth 193+$ git clone git://github.com/strongloop/express.git --depth 194 $ cd express95 $ npm install96 ```97 22 unmodified lines120 ### Contributors121 122 * Author: [TJ Holowaychuk](https://github.com/visionmedia)123 * Lead Maintainer: [Douglas Christopher Wilson](https://github.com/dougwilson)124- * [All Contributors](https://github.com/visionmedia/express/graphs/contributors)124+ * [All Contributors](https://github.com/strongloop/express/graphs/contributors)125 126 ### License127 128 [MIT](LICENSE)