Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Code cleanup, sys module is deprecated.

  • Loading branch information...
commit c3f97e17e3d1ade5bf69486ddbe8ff1d645a1133 1 parent 0bfd585
Ben Noordhuis bnoordhuis authored
13 hosts/installer/build_resources.js
View
@@ -37,7 +37,7 @@ args.push(
var tgt = mode ? "../../build/" + mode + "/installer/o3plugin.exe"
: "o3plugin.exe";
-var sys = require('sys'),
+var util = require('util'),
fs = require('fs'),
s = require('child_process'),
child;
@@ -45,12 +45,12 @@ var sys = require('sys'),
var p = s.spawn("../../tools/win32/zip", args);
p.stdout.on('data',function(data){
- sys.puts(data);
+ util.puts(data);
})
p.stderr.on('data',function(data){
- sys.puts(data);
+ util.puts(data);
})
@@ -82,10 +82,3 @@ p.on('exit', function (code) {
fs.closeSync(fd_tgt);
fs.closeSync(fd_data);
});
-
-
-
-
-
-
-
1  modules/fastxml/test/test.js
View
@@ -1,5 +1,4 @@
var fs = require('fs');
-var sys = require('sys');
var fastxml = require("../lib/o3-fastxml");
function diff(node, node1) {
1  modules/xml/test/test.js
View
@@ -1,5 +1,4 @@
var fs = require('fs');
-var sys = require('sys');
try {
var xml = require("libxml");
Please sign in to comment.
Something went wrong with that request. Please try again.