syntax fixes to pass jslint
authorJoshaven Potter <yourtech@gmail.com>
Thu, 7 Oct 2010 03:05:23 +0000 (23:05 -0400)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 7 Oct 2010 03:40:57 +0000 (20:40 -0700)
28 files changed:
lib/assert.js
lib/child_process.js
lib/crypto.js
lib/dns.js
lib/events.js
lib/freelist.js
lib/fs.js
lib/http.js
lib/net.js
lib/path.js
lib/readline.js
lib/repl.js
lib/sys.js
lib/url.js
src/node.js
test/disabled/test-dns.js
test/disabled/test-eio-race3.js
test/disabled/test-fs-sendfile.js
test/disabled/test-http-big-proxy-responses.js
test/disabled/test-http-head-request.js
test/disabled/test-http-stress.js
test/disabled/test-idle-watcher.js
test/disabled/test-process-title.js
test/disabled/test-remote-module-loading.js
test/disabled/test-setuidgid.js
test/disabled/tls_client.js
test/disabled/tls_server.js
test/fixtures/echo.js

index 19cb376c7eec01fffdc5d645dbb352cb2fea5db5..6d1ffcd6700717928901d4568eda96a86304c3f3 100644 (file)
@@ -59,7 +59,7 @@ assert.AssertionError.prototype.toString = function() {
            , JSON.stringify(this.actual)
            ].join(" ");
   }
-}
+};
 
 // assert.AssertionError instanceof Error
 
@@ -279,7 +279,7 @@ function _throws (shouldThrow, block, err, message) {
       (!shouldThrow && threw)) {
     throw exception;
   }
-}
+};
 
 // 11. Expected to throw an error:
 // assert.throws(block, Error_opt, message_opt);
index 200ed935252e05c4bbef0ef2fcb25b5520d62aae..af59905966c8f779c3cf9ad7dfe0a4c391b1515e 100644 (file)
@@ -88,7 +88,7 @@ exports.execFile = function (file /* args, options, callback */) {
     stderr += chunk;
     if (!killed && stderr.length > options.maxBuffer) {
       child.kill(options.killSignal);
-      killed = true
+      killed = true;
     }
   });
 
index 4a0db0ecb05ac2c74a4135611b4669721461922c..206a2014084a9483c2afb342b51106b3a8bd359d 100644 (file)
@@ -3579,8 +3579,7 @@ var RootCaCerts = [
 +"I2bw/FWAp/tmGYI1Z2JwOV5vx+qQQEQIHriy1tvuWacNGHk0vFQYXlPKNFHtRQrmjseCNj6nOGOp\n"
 +"MCwXEGCSn1WHElkQwg9naRHMTh5+Spqtr0CodaxWkHS4oJyleW/c6RrIaQXpuvoDs3zk4E7Czp3o\n"
 +"tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA==\n"
-+"-----END CERTIFICATE-----\n",
-
++"-----END CERTIFICATE-----\n"
 ];
 
 var sys = require("sys");
@@ -3630,45 +3629,45 @@ exports.createCredentials = function(cred) {
     }
   }
   return c;
-}
+};
 exports.Credentials = Credentials;
 
 exports.Hash = Hash;
 exports.createHash = function(hash) {
   return new Hash(hash);
-}
+};
 
 exports.Hmac = Hmac;
 exports.createHmac = function(hmac, key) {
   return (new Hmac).init(hmac, key);
-}
+};
 
 exports.Cipher = Cipher;
 exports.createCipher = function(cipher, key) {
   return (new Cipher).init(cipher, key);
-}
+};
 
 exports.createCipheriv = function(cipher, key, iv) {
   return (new Cipher).initiv(cipher, key, iv);
-}
+};
 
 exports.Decipher = Decipher;
 exports.createDecipher = function(cipher, key) {
   return (new Decipher).init(cipher, key);
-}
+};
 
 exports.createDecipheriv = function(cipher, key, iv) {
   return (new Decipher).initiv(cipher, key, iv);
-}
+};
 
 exports.Sign = Sign;
 exports.createSign = function(algorithm) {
   return (new Sign).init(algorithm);
-}
+};
 
 exports.Verify = Verify;
 exports.createVerify = function(algorithm) {
   return (new Verify).init(algorithm);
-}
+};
 
 exports.RootCaCerts = RootCaCerts;
index 50c28984981ba6aae45ab96451d33b9f0d5fda3d..f0f25b4c532bcabf961db1c9cb85e992e48ebfbf 100644 (file)
@@ -13,13 +13,13 @@ timer.callback = function () {
   var sockets = Object.keys(activeWatchers);
   for (var i = 0, l = sockets.length; i < l; i++) {
     var socket = sockets[i];
-    var s = parseInt(socket);
+    var s = parseInt(socket, 10);
     channel.processFD( watchers[socket].read  ? s : dns.SOCKET_BAD
                      , watchers[socket].write ? s : dns.SOCKET_BAD
                      );
   }
   updateTimer();
-}
+};
 
 
 function updateTimer() {
@@ -30,7 +30,7 @@ function updateTimer() {
   var max = 20000;
   var timeout = channel.timeout(max);
   timer.start(timeout, 0);
-}
+};
 
 
 var channel = new dns.Channel({SOCK_STATE_CB: function (socket, read, write) {
@@ -50,8 +50,8 @@ var channel = new dns.Channel({SOCK_STATE_CB: function (socket, read, write) {
                        , write ? socket : dns.SOCKET_BAD
                        );
       updateTimer();
-    }
-  }
+    };
+  };
 
   watcher.set(socket, read == 1, write == 1);
 
@@ -84,7 +84,7 @@ exports.resolve = function (domain, type_, callback_) {
   } else {
     throw new Error('Unknown type "' + type + '"');
   }
-}
+};
 
 
 function familyToSym(family) {
@@ -92,7 +92,7 @@ function familyToSym(family) {
     family = (family === 6) ? dns.AF_INET6 : dns.AF_INET;
   }
   return family;
-}
+};
 
 
 exports.getHostByName = function (domain, family/*=4*/, callback) {
@@ -114,7 +114,7 @@ exports.lookup = function (domain, family, callback) {
     callback = family;
     family = undefined;
   } else if (family && family !== 4 && family !== 6) {
-    family = parseInt(family);
+    family = parseInt(family, 10);
     if (family === dns.AF_INET) {
       family = 4;
     } else if (family === dns.AF_INET6) {
@@ -203,7 +203,7 @@ var resolveMap = {
   'TXT' : exports.resolveTxt,
   'SRV' : exports.resolveSrv,
   'PTR' : exports.resolvePtr,
-  'NS'  : exports.resolveNs,
+  'NS'  : exports.resolveNs
 };
 
 // ERROR CODES
index ea8f7aa628e729ec37c141f86ac40b2726b11f8b..d0f641b26c32df366b35d281c25992bd2a23a821 100644 (file)
@@ -117,5 +117,5 @@ exports.Promise = function removed () {
   throw new Error(
     'Promise has been removed. See '+
     'http://groups.google.com/group/nodejs/msg/0c483b891c56fea2 for more information.');
-}
+};
 process.Promise = exports.Promise;
index a09fb4b21e516d5cfc14da338edbafd287b1a03f..67da85a791dfb06bd8030c033c1b331b6be773bd 100644 (file)
@@ -4,7 +4,7 @@ exports.FreeList = function(name, max, constructor) {
   this.constructor = constructor;
   this.max = max;
   this.list = [];
-}
+};
 
 
 exports.FreeList.prototype.alloc = function () {
index b5d1ae0aec800ebdf849d7fe7bea5b163b537143..c1d5891ee67aca2ececb210d4ab60a032b132e77 100644 (file)
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -111,7 +111,7 @@ fs.readFileSync = function (path, encoding) {
       if (!i._bytesRead) return;
       i.copy(buffer,offset,0,i._bytesRead);
       offset += i._bytesRead;
-    })
+    });
   } else if (buffers.length) {
     //buffers has exactly 1 (possibly zero length) buffer, so this should be a shortcut
     buffer = buffers[0].slice(0, buffers[0]._bytesRead);
@@ -943,7 +943,7 @@ WriteStream.prototype.close = function (cb) {
     sys.error(writeStreamCloseWarning);
   }
   return this.end(cb);
-}
+};
 
 
 WriteStream.prototype.end = function (cb) {
index dc7901b41bd0560f48edea815d1dc881d07489b8..b56854ad83f5c4d62559f9dba58aa3d946416aa3 100755 (executable)
@@ -235,9 +235,9 @@ IncomingMessage.prototype.resume = function () {
 IncomingMessage.prototype._addHeaderLine = function (field, value) {
   var dest;
   if (this.complete) {
-      dest = this.trailers
+      dest = this.trailers;
   } else {
-      dest = this.headers
+      dest = this.headers;
   }
   switch (field) {
     // Array headers:
@@ -317,8 +317,8 @@ OutgoingMessage.prototype._send = function (data, encoding) {
     }
     this._headerSent = true;
   }
-  this._writeRaw(data, encoding)
-}
+  this._writeRaw(data, encoding);
+};
 
 OutgoingMessage.prototype._writeRaw = function(data, encoding) {
   if (this.connection._outgoing[0] === this && this.connection.writable) {
@@ -606,7 +606,7 @@ exports.ServerResponse = ServerResponse;
 ServerResponse.prototype.writeContinue = function () {
      this._writeRaw("HTTP/1.1 100 Continue" + CRLF + CRLF, 'ascii');
      this._sent100 = true;
-}
+};
 
 ServerResponse.prototype.writeHead = function (statusCode) {
   var reasonPhrase, headers, headerIndex;
@@ -769,7 +769,7 @@ sys.inherits(Server, net.Server);
 Server.prototype.setSecure = function (credentials) {
   this.secure = true;
   this.credentials = credentials;
-}
+};
 
 exports.Server = Server;
 
@@ -875,7 +875,7 @@ function connectionListener (socket) {
        && continueExpression.test(req.headers['expect'])) {
         res._expect_continue = true;
         if (self.listeners("checkContinue").length) {
-            self.emit("checkContinue", req, res)
+            self.emit("checkContinue", req, res);
         } else {
             res.writeContinue();
             self.emit('request', req, res);
@@ -905,7 +905,7 @@ function Client ( ) {
     } else if (self.parser.incoming && self.parser.incoming.upgrade) {
       var bytesParsed = ret;
       self.ondata = null;
-      self.onend = null
+      self.onend = null;
 
       var req = self.parser.incoming;
 
@@ -1008,9 +1008,9 @@ Client.prototype._initParser = function () {
       // All that should be required for keep-alive is to not reconnect,
       // but outgoingFlush instead.
       if (req.shouldKeepAlive) {
-        outgoingFlush(self)
-        self._outgoing.shift()
-        outgoingFlush(self)
+        outgoingFlush(self);
+        self._outgoing.shift();
+        outgoingFlush(self);
       } else {
         self.end();
       }
index 307af681736a2afcc538052716a63d93fb809de5..af6fc31b2cd44e6c2bd10c904948e80b083eb9d2 100644 (file)
@@ -91,7 +91,7 @@ var timeout = new (function () {
     remove(socket);
     socket._idleNext = list._idleNext;
     socket._idleNext._idlePrev = socket;
-    socket._idlePrev = list
+    socket._idlePrev = list;
     list._idleNext = socket;
   }
 
@@ -200,7 +200,7 @@ var timeout = new (function () {
         socket._idlePrev._idleNext = socket._idleNext;
         socket._idleNext = list._idleNext;
         socket._idleNext._idlePrev = socket;
-        socket._idlePrev = list
+        socket._idlePrev = list;
         list._idleNext = socket;
       }
     }
@@ -313,7 +313,7 @@ function setImplmentationMethods (self) {
   }
 
   self._shutdownImpl = function () {
-    shutdown(self.fd, 'write')
+    shutdown(self.fd, 'write');
   };
 
   if (self.secure) {
@@ -525,7 +525,7 @@ function Stream (fd, type) {
   this.type = null;
   this.secure = false;
 
-  if (parseInt(fd) >= 0) {
+  if (parseInt(fd, 10) >= 0) {
     this.open(fd, type);
   } else {
     setImplmentationMethods(this);
@@ -567,7 +567,7 @@ Stream.prototype.setSecure = function (credentials) {
     // If client, trigger handshake
     this._checkForSecureHandshake();
   }
-}
+};
 
 
 Stream.prototype.verifyPeer = function () {
@@ -575,7 +575,7 @@ Stream.prototype.verifyPeer = function () {
     throw new Error('Stream is not a secure stream.');
   }
   return this.secureStream.verifyPeer(this.credentials.context);
-}
+};
 
 
 Stream.prototype._checkForSecureHandshake = function () {
@@ -586,7 +586,7 @@ Stream.prototype._checkForSecureHandshake = function () {
   // Do an empty write to see if we need to write out as part of handshake
   if (!emptyBuffer) allocEmptyBuffer();
   this.write(emptyBuffer);
-}
+};
 
 
 Stream.prototype.getPeerCertificate = function (credentials) {
@@ -594,7 +594,7 @@ Stream.prototype.getPeerCertificate = function (credentials) {
     throw new Error('Stream is not a secure stream.');
   }
   return this.secureStream.getPeerCertificate();
-}
+};
 
 
 Stream.prototype.getCipher = function () {
@@ -602,7 +602,7 @@ Stream.prototype.getCipher = function () {
       throw new Error('Stream is not a secure stream.');
   }
   return this.secureStream.getCurrentCipher();
-}
+};
 
 
 Stream.prototype.open = function (fd, type) {
@@ -616,7 +616,7 @@ Stream.prototype.open = function (fd, type) {
 
   this._writeWatcher.set(this.fd, false, true);
   this.writable = true;
-}
+};
 
 
 exports.createConnection = function (port, host) {
@@ -703,7 +703,7 @@ Stream.prototype._writeOut = function (data, encoding, fd) {
     len = data.length;
 
   } else {
-    assert(typeof data == 'string')
+    assert(typeof data == 'string');
 
     if (!pool || pool.length - pool.used < kMinPoolSpace) {
       pool = null;
@@ -788,7 +788,7 @@ Stream.prototype._writeOut = function (data, encoding, fd) {
   }
 
   return false;
-}
+};
 
 
 // Flushes the write buffer out.
@@ -869,7 +869,7 @@ function doConnect (socket, port, host) {
   };
 }
 
-function toPort (x) { return (x = Number(x)) >= 0 ? x : false }
+function toPort (x) { return (x = Number(x)) >= 0 ? x : false; }
 
 
 // var stream = new Stream();
@@ -886,7 +886,7 @@ Stream.prototype.connect = function () {
 
   self._connecting = true; // set false in doConnect
 
-  var port = toPort(arguments[0])
+  var port = toPort(arguments[0]);
   if (port === false) {
     // UNIX
     self.fd = socket('unix');
@@ -1102,7 +1102,7 @@ Server.prototype.listen = function () {
     self.addListener('listening', lastArg);
   }
 
-  var port = toPort(arguments[0])
+  var port = toPort(arguments[0]);
   if (port === false) {
     // the first argument specifies a path
     self.fd = socket('unix');
@@ -1176,7 +1176,7 @@ Server.prototype._startWatcher = function () {
 Server.prototype._doListen = function () {
   listen(this.fd, 128);
   this._startWatcher();
-}
+};
 
 
 
index 6238625680babc10b5fd2be7040b1391e09256cd..d0b3788b791055ca89e2286f03447e248bfef90e 100644 (file)
@@ -27,7 +27,7 @@ exports.normalizeArray = function (parts, keepBlanks) {
       && (prev !== "" || keepBlanks)
     ) {
       directories.pop();
-      prev = directories.slice(-1)[0]
+      prev = directories.slice(-1)[0];
     } else {
       if (prev === ".") directories.pop();
       directories.push(directory);
@@ -84,7 +84,7 @@ exports.exists = function (path, callback) {
 
 exports.existsSync = function (path) {
   try {
-    process.binding('fs').stat(path)
+    process.binding('fs').stat(path);
     return true;
   } catch(e){
     return false;
index 26c04cca40f2d20c359707366a4f7e7e647c6321..d3b63e7d7c97fd62d1d778ed4c51892a7e7a4b89 100644 (file)
@@ -28,7 +28,7 @@ function Interface (output, completer) {
 
   this.enabled = output.fd < 3;  // Looks like a TTY.
 
-  if (parseInt(process.env['NODE_NO_READLINE'])) {
+  if (parseInt(process.env['NODE_NO_READLINE'], 10)) {
     this.enabled = false;
   }
 
@@ -211,7 +211,7 @@ Interface.prototype._tabComplete = function () {
       // If there is a common prefix to all matches, then apply that
       // portion.
       var prefix = commonPrefix(
-        completions.filter(function(e) { if (e) return e }));
+        completions.filter(function(e) { if (e) return e; }));
       if (prefix.length > completeOn.length) {
         self._insertString(prefix.slice(completeOn.length));
       }
index ca4e3d7a2f22bb71785bfcf53b59774865ffbac6..5e6de2f72055066fae6683d3790abb62f158ba90 100644 (file)
@@ -58,7 +58,7 @@ function REPLServer(prompt, stream) {
     // Turn on ANSI coloring.
     exports.writer = function(obj, showHidden, depth) {
       return sys.inspect(obj, showHidden, depth, true);
-    }
+    };
   }
 
   rli.setPrompt(self.prompt);
@@ -306,7 +306,7 @@ REPLServer.prototype.complete = function (line) {
             "false", "finally", "for", "function", "if", "import", "in",
             "instanceof", "let", "new", "null", "return", "switch", "this",
             "throw", "true", "try", "typeof", "undefined", "var", "void",
-            "while", "with", "yield"])
+            "while", "with", "yield"]);
         }
       } else {
         try {
index ca97a88495937b48b623929f354d2c2a4d084f4e..e8985d25fa273dff3a8ae5da6ba3485eba37845e 100644 (file)
@@ -315,7 +315,7 @@ exports.log = function (msg) {
 var execWarning;
 exports.exec = function () {
   if (!execWarning) {
-    execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.'
+    execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.';
     error(execWarning);
   }
   return require('child_process').exec.apply(this, arguments);
@@ -332,8 +332,8 @@ exports.pump = function (readStream, writeStream, callback) {
     }
   }
 
-  if (!readStream.pause) readStream.pause = function () {readStream.emit("pause")};
-  if (!readStream.resume) readStream.resume = function () {readStream.emit("resume")};
+  if (!readStream.pause) readStream.pause = function () {readStream.emit("pause");};
+  if (!readStream.resume) readStream.resume = function () {readStream.emit("resume");};
 
   readStream.addListener("data", function (chunk) {
     if (writeStream.write(chunk) === false) readStream.pause();
index 45dea833b257ffd9dc8475ec5f079ac01909b54c..2a9a5cfd703f0a7d8b61669716bc36ac08cc83c1 100644 (file)
@@ -284,7 +284,7 @@ function urlResolveObject (source, relative) {
 
   mustEndAbs = mustEndAbs || (source.host && srcPath.length);
 
-  if (mustEndAbs && srcPath[0] !== "") srcPath.unshift("")
+  if (mustEndAbs && srcPath[0] !== "") srcPath.unshift("");
 
   source.pathname = srcPath.join("/");
 
index 1ad5576bc94814b071ba2c570e54e7620219769c..6d53ea342507e221814ec115232973a792280b64 100644 (file)
@@ -10,8 +10,8 @@ global.root = global;
 
 function removed (reason) {
   return function () {
-    throw new Error(reason)
-  }
+    throw new Error(reason);
+  };
 }
 
 process.debug = removed("process.debug() has moved. Use require('sys') to bring it back.");
@@ -156,7 +156,7 @@ var module = (function () {
         function index (ext) { return path.join(dir, id, 'index' + ext); }
         inDir = [
           function () { return exts.map(direct); },
-          function () { return exts.map(index); },
+          function () { return exts.map(index); }
         ];
         head = [path.join(dir, id)];
         return next();
@@ -335,7 +335,7 @@ var module = (function () {
     // Load the main module--the command line argument.
     process.mainModule = new Module(".");
     process.mainModule.load(process.argv[1]);
-  }
+  };
 
   return exports;
 })();
@@ -551,7 +551,7 @@ global.console.assert = function(expression){
     var arr = Array.prototype.slice.call(arguments, 1);
     process.assert(false, format.apply(this, arr));
   }
-}
+};
 
 global.Buffer = module.requireNative('buffer').Buffer;
 
index e5f2d7092ebd525ca64066740333c7146c89a0f8..e9cd0e6ee85dd38590b920f722a59b359f1ff82c 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 var dns = require("dns"),
     child_process = require("child_process"),
index 7dc239fb1a39a47bdcd7ff643592d3b0f1c4f42c..458c3dacd43eb93f48902763ba55cc48ac07a5b5 100644 (file)
@@ -1,7 +1,7 @@
 /* XXX Can this test be modified to not call the now-removed wait()? */
 
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 
 console.log('first stat ...');
index e70463ad234cd81cf46ada3a43f3d8030c5a8d56..b442841fde1f726e9a467739274f7e5caee87dfb 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 tcp = require("tcp");
 sys = require("sys");
index 7026d56db58d79b2dbf6bce6a6d3c70622fdcabf..b1ccc7e79c317172119a34a890e3ec0ba31f26d5 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 var sys = require("sys"),
 fs = require("fs"),
 http = require("http"),
@@ -9,7 +9,7 @@ var chunk = '01234567890123456789';
 
 // Produce a very large response.
 var chargen = http.createServer(function (req, res) {
-  var len = parseInt(req.headers['x-len']);
+  var len = parseInt(req.headers['x-len'], 10);
   assert.ok(len > 0);
   res.writeHead(200, {"transfer-encoding":"chunked"});
   for (var i=0; i<len; i++) {
@@ -22,9 +22,9 @@ chargen.listen(9000);
 
 // Proxy to the chargen server.
 var proxy = http.createServer(function (req, res) {
-  var c = http.createClient(9000, 'localhost')
+  var c = http.createClient(9000, 'localhost');
 
-  var len = parseInt(req.headers['x-len']);
+  var len = parseInt(req.headers['x-len'], 10);
   assert.ok(len > 0);
 
   var sent = 0;
index c6e9084fbc3b9cb2466b3bc2ad68d7b5eb2ad484..da288be16cbdce628dcaef4fcb6b9f71940f105d 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 var assert = require("assert");
 var http = require("http");
index 42f244f616468bf39d7ff5029e1791cd696768d5..d8778d8a9b4058f6c9da7067f4da4dfd595c46e7 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 http = require("http");
 
@@ -23,7 +23,7 @@ server.addListener('listening', function () {
      if (err) {
        common.print("-");
      } else {
-       assert.equal(body, content)
+       assert.equal(body, content);
        common.print(".");
        requests_ok++;
      }
index cc666217193a04e2dd3e8a97460d04495500018a..274d27acbdbf7c6eca7907fc1869a7dc784898de 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 var complete = false;
 var idle = new process.IdleWatcher();
index d0223d9a1cfbf90bc3c5b685fe65a3d9a0e18041..d09bd60d1d8b74383efa3ca7e779c61711acacb4 100644 (file)
@@ -4,7 +4,7 @@ var spawn = require('child_process').spawn;
 
 if (process.title === '') {
   console.log('skipping test -- not implemented for the host platform');
-  return;
+  //return;
 }
 
 // disabled because of two things
index 36f3d9831af52424c62443b03165137d5abec4a5..c0842dccbfdfe743211c9c93c3d0c7917eddc451 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 var http = require('http');
 var sys = require('sys');
index 76fb2b22950a1e23a05e43f34591041f2b4f364f..1f505cd8f006292b5b5b8d8859f5bec0e5d10edc 100644 (file)
@@ -1,6 +1,6 @@
 // Requires special privlages
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 var assert = require('assert');
 
 var oldgid = process.getgid();
index 6859675f001160192e806dbcac8e5dc7919b00e2..17e77696bd3b4afa9e6d4689f8d7606ad3bbe25d 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 var sys=require('sys');
 var net=require('net');
 var fs=require('fs');
index 9a3f6f819922c37cb1aa11dd9be89922ecf00e5c..892be69b53046ba36fffc0b7fdb3b45c1db9ac27 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 var sys=require('sys');
 var net=require('net');
index 9274f8cf7e6cd7ac8ac5b2b1175da7c25d564c59..f206b515c7c627801e1f8162d0631d0ec507d763 100644 (file)
@@ -1,5 +1,5 @@
 common = require("../common");
-assert = common.assert
+assert = common.assert;
 
 common.print("hello world\r\n");