Permalink
Browse files

use thrift.transport in examples

  • Loading branch information...
1 parent 0cf6566 commit 020d48de13b32a0016d028be9357203d212554da @wadey committed Oct 5, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/client_multitransport.js
  2. +1 −1 examples/server_multitransport.js
@@ -1,5 +1,5 @@
var thrift = require('thrift'),
- ttransport = require('thrift/transport');
+ ttransport = thrift.transport;
var UserStorage = require('./gen-nodejs/UserStorage'),
ttypes = require('./gen-nodejs/user_types');
@@ -1,5 +1,5 @@
var thrift = require('thrift'),
- ttransport = require('thrift/transport');
+ ttransport = thrift.transport;
var UserStorage = require('./gen-nodejs/UserStorage'),
ttypes = require('./gen-nodejs/user_types');

0 comments on commit 020d48d

Please sign in to comment.