perf: enable strict mode
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 · parent 95ad276 · Browse files · 13 files·+25 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
13 files+25 added−0 removed
- other:+25 added−0 removed
Provenance
- Commit
e71014f- Tree
190502b- Author
Douglas Christopher Wilson <doug@somethingdoug.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent
95ad276
13 files changed+25 added−0 removed
modified:lib/middleware/init.js+2 added
4 unmodified lines56789101112131422 unmodified lines4 unmodified lines * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */
'use strict';
/** * Initialization middleware, exposing the * request and response to each other, as well * as defaulting the X-Powered-By header field.22 unmodified linesmodified:lib/middleware/query.js+2 added
4 unmodified lines56789101112131426 unmodified lines4 unmodified lines * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */
'use strict';
/** * Module dependencies. */
26 unmodified linesmodified:lib/router/index.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 */14 626 unmodified linesmodified:lib/router/layer.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 */14 162 unmodified linesmodified:lib/router/route.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 */14 179 unmodified linesmodified:lib/application.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 * @api private14 */595 unmodified linesmodified:lib/express.js+2 added
4 unmodified lines56789101112131489 unmodified lines4 unmodified lines * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */
'use strict';
/** * Module dependencies. */
89 unmodified linesmodified:lib/request.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 */14 463 unmodified linesmodified:lib/response.js+2 added
3 unmodified lines4 * Copyright(c) 2014-2015 Douglas Christopher Wilson5 * MIT Licensed6 */7 8+'use strict';9+10 /**11 * Module dependencies.12 * @api private13 */1019 unmodified linesmodified:lib/utils.js+2 added
3 unmodified lines4 * Copyright(c) 2014-2015 Douglas Christopher Wilson5 * MIT Licensed6 */7 8+'use strict';9+10 /**11 * Module dependencies.12 * @api private13 */273 unmodified linesmodified:lib/view.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 /**12 * Module dependencies.13 */14 138 unmodified linesmodified:History.md+1 added
59 unmodified lines60 * deps: type-is@~1.6.361 - deps: mime-types@~2.1.162 - perf: reduce try block size63 - perf: remove bitwise operations64+ * perf: enable strict mode65 * perf: use saved reference to `http.STATUS_CODES`66 67 4.12.4 / 2015-05-1768 ===================2881 unmodified linesmodified:index.js+2 added
4 unmodified lines5 * Copyright(c) 2014-2015 Douglas Christopher Wilson6 * MIT Licensed7 */8 9+'use strict';10+11 module.exports = require('./lib/express');