Permalink
Browse files

Remove createClient, infavour of just new SVN()

  • Loading branch information...
1 parent d7f2d63 commit ce7c40995dca809447e337f7f5d32c8b30728ba1 @enmand committed Oct 26, 2011
Showing with 2 additions and 9 deletions.
  1. +2 −9 subversion.js
View
11 subversion.js
@@ -1,19 +1,12 @@
-nodesvn = require('./build/default/nodesvn');
-
-var subversion = nodesvn.SVN;
-
-exports.createClient = function()
-{
- _svn = new SVN();
- return _svn.client;
-}
+nodesvn = require('./build/Release/nodesvn');
function SVN()
{
if(!this.client)
{
this.client = new nodesvn.SVN();
}
+ return this.client;
}
exports.SVN = SVN;

0 comments on commit ce7c409

Please sign in to comment.