Skip to content

Commit

Permalink
No need to export helpers and middleware in main stick module.
Browse files Browse the repository at this point in the history
  • Loading branch information
hns committed Feb 21, 2012
1 parent 8277f53 commit e49aec6
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions lib/stick.js
Expand Up @@ -8,22 +8,16 @@
*
*/

/**
* Shortcut to the `stick/helpers` module.
*/
var helpers = exports.helpers = require("./helpers");

/**
* Shortcut to the `stick/middleware` module.
*/
var stickware = exports.middleware = require("./middleware");
var helpers = require("./helpers");
var stickware = require("./middleware");

/**
* The application object is a JSGI application that wraps a middleware chain.
*
* When invoked without arguments, the `Application` constructor returns
* an application that wraps an `unhandled` middleware that throws an Error
* when called. Use `[configure](#Application.prototype.configure)`.
* when called. Use [configure][#Application.prototype.configure] to add
* middleware modules to the application.
*
* When invoked with an argument, it is used as initial value for the
* application's middleware chain.
Expand Down

0 comments on commit e49aec6

Please sign in to comment.