From 43d4662a8b451487675daa50537885efdf883c65 Mon Sep 17 00:00:00 2001 From: brandly Date: Mon, 7 Sep 2015 20:30:44 -0700 Subject: [PATCH 1/2] Minor: fix typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ca7107..4878af6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In addition to the basics, browserify-middleware has the following features out - gzip automatically enabled for production - etags for caching automatically enabled for production -With the exception of serving up directories (which requires `req.path` from express) everything is entirely framework independant. Simply pass in `req` `res`, and a `callback` that will only be called in the event of an error. +With the exception of serving up directories (which requires `req.path` from express) everything is entirely framework independent. Simply pass in `req` `res`, and a `callback` that will only be called in the event of an error. If you think I've missed something, be sure to open an issue or submit a pull request. From 19f14dbe5babab2653fef5db51d59892b2d51f34 Mon Sep 17 00:00:00 2001 From: brandly Date: Mon, 7 Sep 2015 20:35:11 -0700 Subject: [PATCH 2/2] Minor: fix typo in README example, fixes #85 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4878af6..0713cf4 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ app.get('/js/file.js', browserify(__dirname + '/client/file.js')); app.get('/js/bundle.js', browserify(['hyperquest', 'concat-stream'])); //provide a bundle for a few npm packages plus run main.js -app.get('/js/bundle.js', browserify(['hyperquest', 'concat-stream', {__dirname + '/client/main.js': {run: true}]})); +app.get('/js/bundle.js', browserify(['hyperquest', 'concat-stream', {__dirname + '/client/main.js': {run: true}}])); app.listen(3000); ```