Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
prdn committed Jul 24, 2016
1 parent 2997cca commit 5fb454b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/Client.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict'

var uuid = require('uuid')
var zmq = require('zmq')
var url = require('url')
var _ = require('lodash')
var Base = require('grenache-nodejs-base')
const uuid = require('uuid')
const zmq = require('zmq')
const url = require('url')
const _ = require('lodash')
const Base = require('grenache-nodejs-base')

class Client extends Base.Client {

Expand All @@ -28,7 +28,7 @@ class Client extends Base.Client {
}

_listen(transport, type, dest) {
var socket
let socket

switch (type) {
case 'req':
Expand Down Expand Up @@ -57,7 +57,7 @@ class Client extends Base.Client {

socket.bindSync(dest)

var bindInfo = socket._zmq.getsockopt(zmq.ZMQ_LAST_ENDPOINT)
let bindInfo = socket._zmq.getsockopt(zmq.ZMQ_LAST_ENDPOINT)
bindInfo = url.parse(bindInfo)

transport.set({
Expand All @@ -69,7 +69,7 @@ class Client extends Base.Client {
}

_connect(transport, type, dest, cb) {
var socket
let socket

switch (type) {
case 'req':
Expand Down

0 comments on commit 5fb454b

Please sign in to comment.