lint
authorisaacs <i@izs.me>
Fri, 21 Dec 2012 16:51:43 +0000 (16:51 +0000)
committerisaacs <i@izs.me>
Fri, 21 Dec 2012 16:51:43 +0000 (16:51 +0000)
lib/fs.js
lib/http.js

index 44c3fc2..c8e44e1 100644 (file)
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -1412,7 +1412,8 @@ function ReadStream(path, options) {
 
   this.start = options.hasOwnProperty('start') ? options.start : undefined;
   this.end = options.hasOwnProperty('start') ? options.end : undefined;
-  this.autoClose = options.hasOwnProperty('autoClose') ? options.autoClose : true;
+  this.autoClose = options.hasOwnProperty('autoClose') ?
+      options.autoClose : true;
   this.pos = undefined;
 
   if (this.start !== undefined) {
index 81c5f67..43c61b5 100644 (file)
@@ -800,13 +800,13 @@ OutgoingMessage.prototype.end = function(data, encoding) {
         var data_len = data.length;
         var trailer_len = this._trailer.length;
 
-        var len = header_len
-                + chunk_size_len
-                + 2   // '\r\n'.length
-                + data_len
-                + 5   // '\r\n0\r\n'.length
-                + trailer_len
-                + 2;  // '\r\n'.length
+        var len = header_len +
+                  chunk_size_len +
+                  2 + // '\r\n'.length
+                  data_len +
+                  5 + // '\r\n0\r\n'.length
+                  trailer_len +
+                  2;  // '\r\n'.length
 
         var buf = new Buffer(len);
         var off = 0;