Skip to content

Commit

Permalink
add protocols into indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstrat committed Jun 24, 2012
1 parent 2f89fe7 commit 35abbe6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/index-browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ exports.network = {

//@browserify-ignore[simudp] --comment
Strophe : require('./network/transport/strophe')
},
protocol: {
xmlrpc : require('./network/protocol/xmlrpc'),
jsonrpc2 : require('./network/protocol/jsonrpc2'),
jsonoverxmlrpc : require('./network/protocol/jsonoverxmlrpc')
}

};

exports.dht = {
Expand Down
6 changes: 6 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ exports.network = {
UDP : require('./network/transport/udp'),
SimUDP : require('./network/transport/simudp'),
NodeXMPP : require('./network/transport/node-xmpp')
},
protocol: {
xmlrpc : require('./network/protocol/node-xmlrpc'),
jsonrpc2 : require('./network/protocol/jsonrpc2'),
jsonoverxmlrpc : require('./network/protocol/node-jsonoverxmlrpc'),
mainline : require('./network/protocol/mainline')
}
};

Expand Down

0 comments on commit 35abbe6

Please sign in to comment.