diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/_debugger.js | 4 | ||||
-rw-r--r-- | lib/events.js | 2 | ||||
-rw-r--r-- | lib/net.js | 2 | ||||
-rw-r--r-- | lib/tls.js | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js index 26f545c535..ed5573aff4 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -574,7 +574,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) { }); cb(null, mirror); } - }; + } }); return; } else if (handle.type === 'function') { @@ -800,7 +800,7 @@ function Interface(stdin, stdout, args) { } else { self.repl.context[key] = fn; } - }; + } // Copy all prototype methods in repl context // Setup them as getters if possible diff --git a/lib/events.js b/lib/events.js index f57882ab6d..5860254654 100644 --- a/lib/events.js +++ b/lib/events.js @@ -434,7 +434,7 @@ function listenerCount(type) { } return 0; -}; +} // About 1.5x faster than the two-arg version of Array#splice(). function spliceOne(list, index) { diff --git a/lib/net.js b/lib/net.js index 1faaa5c13b..68b7946244 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1183,7 +1183,7 @@ function createServerHandle(address, port, addressType, fd) { } return handle; -}; +} exports._createServerHandle = createServerHandle; diff --git a/lib/tls.js b/lib/tls.js index 1abeb77873..245afb6bdc 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -46,7 +46,7 @@ function convertProtocols(protocols) { }, 0); return buff; -}; +} exports.convertNPNProtocols = function(protocols, out) { // If protocols is Array - translate it into buffer |