Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drops continuation middleware #55

Merged
merged 1 commit into from Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -18,7 +18,6 @@ Currently Stick comes with the following middleware modules:

* accept - HTTP content negotiation helper
* basicauth - basic HTTP authentication
* continuation - generator-based async requests
* cookies - read HTTP cookies
* cors - Cross-site HTTP requests access control
* csrf - CSRF mitigation
Expand Down
88 changes: 0 additions & 88 deletions examples/continuation/app.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/demo.js
Expand Up @@ -34,7 +34,6 @@ app.static(module.resolve("../docs"), "index.html"); // serve files in docs as s

// mount example apps
app.mount("/mount", module.resolve("mount-route/app"));
app.mount("/continuation", module.resolve("continuation/app"));

// production environment, run with RINGO_ENV=production ringo demo.js
var prod = app.env("production");
Expand Down
10 changes: 1 addition & 9 deletions lib/middleware.js
Expand Up @@ -11,14 +11,6 @@ Object.defineProperty(exports, 'basicauth', {
get: function() require('./middleware/basicauth')
});

/**
* Middleware for [generator based continuations](./continuation/index.html).
* @name continuation
*/
Object.defineProperty(exports, 'continuation', {
get: function() require('./middleware/continuation')
});

/**
* Middleware for [generating error pages](./error/index.html).
* @name error
Expand Down Expand Up @@ -169,4 +161,4 @@ Object.defineProperty(exports, 'accept', {
*/
Object.defineProperty(exports, 'locale', {
get: function() require('./middleware/locale')
});
});
129 changes: 0 additions & 129 deletions lib/middleware/continuation.js

This file was deleted.