Skip to content

Commit

Permalink
removed local transport variable @ index
Browse files Browse the repository at this point in the history
  • Loading branch information
devgru committed Aug 18, 2013
1 parent eb7d368 commit 5821a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.coffee
Expand Up @@ -21,8 +21,8 @@ class Tarantool
@connect: (port, host, callback) ->
new Tarantool Transport.connect port, host, callback

constructor: (@transport) ->
@composer = new Composer @transport
constructor: (transport) ->
@composer = new Composer transport

space: (space, mapping) ->
mapping = new Mapping this, mapping unless mapping instanceof Mapping
Expand Down

0 comments on commit 5821a70

Please sign in to comment.