Permalink
Browse files

Remove examples folder

  • Loading branch information...
1 parent 53b5226 commit 6473f61184c9aabbdf5c0a49e24536264a17df7f @baryshev committed Aug 11, 2012
Showing with 1 addition and 23 deletions.
  1. +0 −2 .npmignore
  2. +0 −20 examples/example.js
  3. +1 −1 package.json
View
2 .npmignore
@@ -1,3 +1 @@
-*.md
.git*
-examples/
View
20 examples/example.js
@@ -1,20 +0,0 @@
-var
- connectRoute = require('../index');
- connect = require('connect'),
- server = connect();
-
-server.use(connectRoute(function (router) {
- router.get('/', function (req, res, next) {
- res.end('index');
- });
-
- router.get('/home', function (req, res, next) {
- res.end('home');
- });
-
- router.get('/home/:id', function (req, res, next) {
- res.end('home ' + req.params.id);
- });
-}));
-
-server.listen(3000);
View
2 package.json
@@ -1,6 +1,6 @@
{
"name" : "connect-route",
- "version" : "0.1.1",
+ "version" : "0.1.2",
"description" : "Simple and fast router for Connect",
"keywords": [ "router", "connect" ],
"author" : "Vadim M. Baryshev <vadimbaryshev@gmail.com>",

0 comments on commit 6473f61

Please sign in to comment.