Permalink
Browse files

Remove some superfluous trailing whitespace

  • Loading branch information...
1 parent ec4d4a7 commit eed0f598a03fbace7806ca3a44f54e8526b15a1e @thomseddon thomseddon committed Mar 1, 2013
Showing with 10 additions and 10 deletions.
  1. +2 −2 lib/utils.js
  2. +4 −4 lib/view.js
  3. +2 −2 test/req.accepts.js
  4. +2 −2 test/req.acceptsCharset.js
View
@@ -20,8 +20,8 @@ exports.etag = function(body){
/**
* Make `locals()` bound to the given `obj`.
- *
- * This is used for `app.locals` and `res.locals`.
+ *
+ * This is used for `app.locals` and `res.locals`.
*
* @param {Object} obj
* @return {Function}
View
@@ -8,7 +8,7 @@ var path = require('path')
, dirname = path.dirname
, basename = path.basename
, extname = path.extname
- , exists = fs.existsSync || path.existsSync
+ , exists = fs.existsSync || path.existsSync
, join = path.join;
/**
@@ -22,9 +22,9 @@ module.exports = View;
*
* Options:
*
- * - `defaultEngine` the default template engine name
- * - `engines` template engine require() cache
- * - `root` root path for view lookup
+ * - `defaultEngine` the default template engine name
+ * - `engines` template engine require() cache
+ * - `root` root path for view lookup
*
* @param {String} name
* @param {Object} options
View
@@ -15,7 +15,7 @@ describe('req', function(){
.get('/')
.expect('yes', done);
})
-
+
it('should return true when present', function(done){
var app = express();
@@ -28,7 +28,7 @@ describe('req', function(){
.set('Accept', 'application/json')
.expect('yes', done);
})
-
+
it('should return false otherwise', function(done){
var app = express();
@@ -17,7 +17,7 @@ describe('req', function(){
.expect('yes', done);
})
})
-
+
describe('when Accept-Charset is not present', function(){
it('should return true when present', function(done){
var app = express();
@@ -31,7 +31,7 @@ describe('req', function(){
.set('Accept-Charset', 'foo, bar, utf-8')
.expect('yes', done);
})
-
+
it('should return false otherwise', function(done){
var app = express();

0 comments on commit eed0f59

Please sign in to comment.