Skip to content

Commit

Permalink
Prepared packages for NPM compatibility. Got rid of dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi committed Jul 22, 2011
1 parent 5749921 commit 55c04a7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,3 +0,0 @@
[submodule "support/async"]
path = support/async
url = https://github.com/ajaxorg/async.js
2 changes: 1 addition & 1 deletion ftpPasv.js
Expand Up @@ -6,7 +6,7 @@
*/

var Net = require("net");
var S = require("./streamer");
var S = require("streamer");

var ftpPasv = module.exports = function(host, port, mode, callback, onConnect) {
this.data = [];
Expand Down
2 changes: 1 addition & 1 deletion jsftp.js
Expand Up @@ -7,7 +7,7 @@

var Net = require("net");
var ftpPasv = require("./ftpPasv");
var S = require("./streamer");
var S = require("streamer");

var FTP_PORT = 21;
var RE_PASV = /[-\d]+,[-\d]+,[-\d]+,[-\d]+,([-\d]+),([-\d]+)/;
Expand Down
4 changes: 2 additions & 2 deletions jsftp_test.js
Expand Up @@ -6,9 +6,9 @@
*/

var assert = require("assert");
var Ftp = require("./jsftp");
var Fs = require("fs");
var exec = require('child_process').spawn;
var Ftp = require("./jsftp");

var FTPCredentials = {
host: "localhost",
Expand Down Expand Up @@ -182,4 +182,4 @@ module.exports = {
}
};

!module.parent && require("./support/async/lib/test").testcase(module.exports, "FTP"/*, timeout*/).exec();
!module.parent && require("asyncjs").test.testcase(module.exports, "FTP").exec();
1 change: 0 additions & 1 deletion support/async
Submodule async deleted from d36ead

0 comments on commit 55c04a7

Please sign in to comment.